AZL-117449

See a problem?
Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117449.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-117449
Upstream
Published
2026-11-30T14:18:16Z
Modified
2026-12-02T14:17:33Z
Summary
CVE-2026-139085 affecting package kernel 6.6.161.1-1
Details

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

Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()

l2cap_sock_shutdown() has the race condition

[Task 1]                      [Task 2]
l2cap_sock_shutdown           l2cap_sock_connect
  l2cap_chan_lock               l2cap_chan_connect
  conn = ... /* == NULL*/
  l2cap_chan_unlock ------------> l2cap_chan_lock
  if (conn) /* false */
                                  __l2cap_chan_add(conn, chan)
  l2cap_chan_lock <-------------- l2cap_chan_unlock
  l2cap_chan_close /* chan->conn->lock not held! */

conn->lock protects conn->chan_l and is not properly held here.

Use the l2cap_chan_close_unlocked() helper that ensures conn->lock is held for l2cap_chan_close().

References

Affected packages

Azure Linux:3 / kernel

Package

Name
kernel
Purl
pkg:rpm/azure-linux/kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
6.6.161.1-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117449.json"