CVE-2026-53276: Bluetooth: ISO: Fix a use-after-free of the hci_conn pointer
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: ISO: Fix a use-after-free of the hci_conn pointer
In iso_sock_rebind_bc(), the bis pointer is cached, then the socket lock is dropped:
bis = iso_pi(sk)->conn->hcon; /* Release the socket before lookups since that requires hci_dev_lock * which shall not be acquired while holding sock_lock for proper * ordering. */ release_sock(sk); hci_dev_lock(bis->hdev);
During the unlocked window, could a concurrent close() destroy the connection and free the bis structure, causing hci_dev_lock(bis->hdev) to access memory after it is freed, fix this by using the hdev reference which was safely acquired via iso_conn_get_hdev().
The Linux kernel CVE team has assigned CVE-2026-53276 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit d3413703d5f8b7d1e6f514f9440ed5da1bc30796 and fixed in 7.0.13 with commit d324b8aa20bd3c3394e3647dc22491d88f3f4e7a Issue introduced in 6.19 with commit d3413703d5f8b7d1e6f514f9440ed5da1bc30796 and fixed in 7.1 with commit f50331f2a1441ec49988832c3a95f2edacc47322
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-53276
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/d324b8aa20bd3c3394e3647dc22491d88f3f4e7a https://git.kernel.org/stable/c/f50331f2a1441ec49988832c3a95f2edacc47322