Skip to contentSkip to conversation

CVE-2026-53071: Bluetooth: l2cap: Add missing chan lock in l2cap_ecred_reconf_rsp

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 24

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: Add missing chan lock in l2cap_ecred_reconf_rsp

l2cap_ecred_reconf_rsp() calls l2cap_chan_del() without holding l2cap_chan_lock(). Every other l2cap_chan_del() caller in the file acquires the lock first. A remote BLE device can send a crafted L2CAP ECRED reconfiguration response to corrupt the channel list while another thread is iterating it.

Add l2cap_chan_hold() and l2cap_chan_lock() before l2cap_chan_del(), and l2cap_chan_unlock() and l2cap_chan_put() after, matching the pattern used in l2cap_ecred_conn_rsp() and l2cap_conn_del().

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

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

	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 5.10.258 with commit 96dca51715d86559ed6ed8028e5445cecb80f3ae
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 5.15.209 with commit 330b20ec97916961ee0e6c29c06bc0fa7c96e64c
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.1.175 with commit 0ccd75c51f620374086f359e906917676e699a1c
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.6.141 with commit 77a853aec710b2fdf41fa298ea3cbc9a4358f917
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.12.91 with commit fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 6.18.33 with commit dc89961b76f12aff47124c1df4bdb32a080f4d0c
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 7.0.10 with commit 5501d055a1ce3c747141e3955ba8cf034d193f3e
	Issue introduced in 5.7 with commit 15f02b91056253e8cdc592888f431da0731337b8 and fixed in 7.1 with commit 42776497cdbc9a665b384a6dcb85f0d4bd927eab

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

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/96dca51715d86559ed6ed8028e5445cecb80f3ae
	https://git.kernel.org/stable/c/330b20ec97916961ee0e6c29c06bc0fa7c96e64c
	https://git.kernel.org/stable/c/0ccd75c51f620374086f359e906917676e699a1c
	https://git.kernel.org/stable/c/77a853aec710b2fdf41fa298ea3cbc9a4358f917
	https://git.kernel.org/stable/c/fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14
	https://git.kernel.org/stable/c/dc89961b76f12aff47124c1df4bdb32a080f4d0c
	https://git.kernel.org/stable/c/5501d055a1ce3c747141e3955ba8cf034d193f3e
	https://git.kernel.org/stable/c/42776497cdbc9a665b384a6dcb85f0d4bd927eab