CVE-2026-139381: Bluetooth: L2CAP: hold l2cap_conn::lock in l2cap_connect_cfm()
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: hold l2capconn::lock in l2capconnectcfm()
l2capnewconnection() -> l2capchanadd() modifies l2capconn::chanl, which is guarded by l2capconn::lock. The lock is not held in l2capconnectcfm().
Fix by holding conn->lock in l2capconnectcfm() to make the locking systematic.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.14 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Compensating control
In the Linux kernel Bluetooth L2CAP code, hold l2cap_conn::lock (conn->lock) in l2cap_connect_cfm().