Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer

__l2cap_ecred_conn_rsp_defer() > __l2cap_chan_list_id() accesses conn->chan_l which is guarded by conn->lock. The lock fails to be held when calling from l2cap_sock.c.

Fix by using l2cap_chan_conn_lock(), and taking the locks in required order l2cap_conn::lock > l2cap_chan::lock > sk. Leave fast path with sk->sk_state precheck. Move the L2CAP defer handling to l2cap_sock_defer().

The code should also take l2cap_chan_lock() for sibling channels, but that needs separate fix due to lock nesting.

ProductVersions
Linux Linuxab4eedb790cae44313759b50fe47da285e2519d5 to before 878dd63b28288fb36acc187e27b7d4f86ffdaac7 Affectedab4eedb790cae44313759b50fe47da285e2519d5 to before 32d86e048d8efedb7aa6cbbd3c36c3c435401c92 Affectedefc30877bd4bc85fefe98d80af60fafc86e5775e Affectedf87271d21dd4ee83857ca11b94e7b4952749bbae Affected18ab6b6078fa8191ca30a3065d57bf35d5635761 Affected6.6.84 to before 6.7 Affected6.12.20 to before 6.13 Affected6.13.8 to before 6.14 Affected
Linux Linux6.14 Affectedbefore 6.14 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.