AZL-117446: CVE-2026-139082 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: hold conn->lock for l2capecredconnrspdefer
l2capecredconnrspdefer() > l2capchanlistid() accesses conn->chanl which is guarded by conn->lock. The lock fails to be held when calling from l2capsock.c.
Fix by using l2capchanconnlock(), and taking the locks in required order l2capconn::lock > l2capchan::lock > sk. Leave fast path with sk->skstate precheck. Move the L2CAP defer handling to l2capsockdefer().
The code should also take l2capchanlock() for sibling channels, but that needs separate fix due to lock nesting.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In __l2cap_ecred_conn_rsp_defer(), use l2cap_chan_conn_lock() and acquire locks in the order l2cap_conn::lock > l2cap_chan::lock > sk.
Event History
Frequently Asked Questions
Which systems should be prioritized for review?
Prioritize Azure Linux systems using the kernel package and Bluetooth L2CAP functionality. The affected code is in the Bluetooth L2CAP deferred enhanced credit-based connection response handling path.
How can I check whether a system is in scope?
Check the installed Azure Linux kernel package version. The vulnerability record identifies kernel version 6.6.161.1-1 as affected.
What does the available information say about exploitation requirements?
The available information identifies a missing conn->lock while deferred L2CAP connection-response handling accesses the connection channel list. It does not specify attacker privileges, required Bluetooth proximity, or whether a default configuration is exploitable.