CVE-2026-139082
8.0high
Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer
- Severity
- 8.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ab4eedb790cae44313759b50fe47da285e2519d5 before 878dd63b28288fb36acc187e27b7d4f86ffdaac7, from ab4eedb790cae44313759b50fe47da285e2519d5 before 32d86e048d8efedb7aa6cbbd3c36c3c435401c92, efc30877bd4bc85fefe98d80af60fafc86e5775e, f87271d21dd4ee83857ca11b94e7b4952749bbae, 18ab6b6078fa8191ca30a3065d57bf35d5635761, from 6.6.84 before 6.7, from 6.12.20 before 6.13, from 6.13.8 before 6.14 and 1 more Not affected: before 6.14, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139082 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139082 changed 2026-12-01 | Public domain |