Skip to contentSkip to conversation

CVE-2026-63946: Bluetooth: ISO: fix UAF in iso_recv_frame

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

Bluetooth: ISO: fix UAF in iso_recv_frame

iso_recv_frame reads conn->sk under iso_conn_lock but releases the lock before using sk, with no reference held. A concurrent iso_sock_kill() can free sk in that window, causing use-after-free on sk->sk_state and sock_queue_rcv_skb().

Fix by replacing the bare pointer read with iso_sock_hold(conn), which calls sock_hold() while the spinlock is held, atomically elevating the refcount before the lock drops. Add a drop_put label so sock_put() is called on all exit paths where the hold succeeded.

The Linux kernel CVE team has assigned CVE-2026-63946 to this issue.

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

	Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.1.176 with commit c57ea90f203c8b8b41a474f19a09000d0f841436
	Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.6.143 with commit 119fb6f80c44dc1c65d604cf28e64c56bd9b6568
	Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.12.93 with commit b04ec131325baf4ea4577d6c6e6b86cf092e3731
	Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 6.18.35 with commit c318aa51830a3d2cc1229968fe521441c97356cd
	Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 7.0.12 with commit 1a6b803b00ccdd7666506adbe01ddae1c72d1ca9
	Issue introduced in 6.0 with commit ccf74f2390d60a2f9a75ef496d2564abb478f46a and fixed in 7.1 with commit 47f23a259517abbdb8032c057a1e8a6bf3734878

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-2026-63946

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/c57ea90f203c8b8b41a474f19a09000d0f841436
	https://git.kernel.org/stable/c/119fb6f80c44dc1c65d604cf28e64c56bd9b6568
	https://git.kernel.org/stable/c/b04ec131325baf4ea4577d6c6e6b86cf092e3731
	https://git.kernel.org/stable/c/c318aa51830a3d2cc1229968fe521441c97356cd
	https://git.kernel.org/stable/c/1a6b803b00ccdd7666506adbe01ddae1c72d1ca9
	https://git.kernel.org/stable/c/47f23a259517abbdb8032c057a1e8a6bf3734878