Skip to contentSkip to conversation

CVE-2024-50124: Bluetooth: ISO: Fix UAF on iso_sock_timeout

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 5, 2024

lore
Share & tools
lore
#0 lore raw

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

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

Bluetooth: ISO: Fix UAF on iso_sock_timeout

conn->sk maybe have been unlinked/freed while waiting for iso_conn_lock so this checks if the conn->sk is still valid by checking if it part of iso_sk_list.

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

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

	Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.1.115 with commit 876ac72d535f
	Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.6.59 with commit 14bcb721d241
	Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.11.6 with commit d75aad1d3143
	Issue introduced in 6.0 with commit ccf74f2390d6 and fixed in 6.12-rc5 with commit 246b435ad668

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-50124

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/bluetooth/iso.c

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/876ac72d535fa94f4ac57bba651987c6f990f646
	https://git.kernel.org/stable/c/14bcb721d241e62fdd18f6f434a2ed2ab6e71a9b
	https://git.kernel.org/stable/c/d75aad1d3143ca68cda52ff80ac392e1bbd84325
	https://git.kernel.org/stable/c/246b435ad668596aa0e2bbb9d491b6413861211a