lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025011142-CVE-2024-49568-e5f6@gregkh>
Date: Sat, 11 Jan 2025 13:35:45 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-49568: net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg

When receiving proposal msg in server, the fields v2_ext_offset/
eid_cnt/ism_gid_cnt in proposal msg are from the remote client
and can not be fully trusted. Especially the field v2_ext_offset,
once exceed the max value, there has the chance to access wrong
address, and crash may happen.

This patch checks the fields v2_ext_offset/eid_cnt/ism_gid_cnt
before using them.

The Linux kernel CVE team has assigned CVE-2024-49568 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.10 with commit 8c3dca341aea885249e08856c4380300b75d2cf5 and fixed in 6.6.68 with commit 295a92e3df32e72aff0f4bc25c310e349d07ffbf
	Issue introduced in 5.10 with commit 8c3dca341aea885249e08856c4380300b75d2cf5 and fixed in 6.12.7 with commit 42f6beb2d5779429417b5f8115a4e3fa695d2a6c
	Issue introduced in 5.10 with commit 8c3dca341aea885249e08856c4380300b75d2cf5 and fixed in 6.13-rc4 with commit 7863c9f3d24ba49dbead7e03dfbe40deb5888fdf

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2024-49568
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	net/smc/af_smc.c
	net/smc/smc_clc.c
	net/smc/smc_clc.h


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/295a92e3df32e72aff0f4bc25c310e349d07ffbf
	https://git.kernel.org/stable/c/42f6beb2d5779429417b5f8115a4e3fa695d2a6c
	https://git.kernel.org/stable/c/7863c9f3d24ba49dbead7e03dfbe40deb5888fdf

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ