Skip to contentSkip to conversation

CVE-2026-90256: Bluetooth: L2CAP: use proto_lock for l2cap_data to fix l2cap_disconn_ind

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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: L2CAP: use proto_lock for l2cap_data to fix l2cap_disconn_ind

hci_conn::l2cap_data is accessed without locks in l2cap_disconn_ind via hci_conn_timeout (disc_work) -> hci_proto_disconn_ind -> l2cap_disconn_ind. This is UAF if the l2cap_conn is deleted concurrently.

disc_work is disabled sync in hci_conn_del(), so we cannot take hci_dev_lock in disc_work.

Fix by using proto_lock to guard l2cap_data, in addition to hdev->lock which is held in other access paths.

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

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

	Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 7.2.6 with commit b495a3a9b33bc4e4613e685bf5c96c136caa22d8
	Issue introduced in 6.14 with commit ab4eedb790cae44313759b50fe47da285e2519d5 and fixed in 7.3-rc1 with commit 2b66c83ff1751d6bd3201b3017206262ab46dc05
	Issue introduced in 6.6.84 with commit efc30877bd4bc85fefe98d80af60fafc86e5775e
	Issue introduced in 6.12.20 with commit f87271d21dd4ee83857ca11b94e7b4952749bbae
	Issue introduced in 6.13.8 with commit 18ab6b6078fa8191ca30a3065d57bf35d5635761

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

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/l2cap_core.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/b495a3a9b33bc4e4613e685bf5c96c136caa22d8
	https://git.kernel.org/stable/c/2b66c83ff1751d6bd3201b3017206262ab46dc05