Bug 2586601 (CVE-2026-139085) - CVE-2026-139085 kernel: kernel: Denial of Service via race condition in Bluetooth L2CAP socket shutdown
Summary: CVE-2026-139085 kernel: kernel: Denial of Service via race condition in Bluet...
Keywords:
Status: NEW
Alias: CVE-2026-139085
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:28 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:17 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:28:27 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.