cvelo
P2 · HighCVSS 7.8EPSS 0.3%

Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()

  • CVE-2026-139085
  • GHSA-wqmv-3c44-696j
  • EUVD-2026-138638

Description

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().

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 6.12.20 to before 6.13update to 6.13 or laterMinor version change: check the release notes
    • If you run a version from 6.6.84 to before 6.7update to 6.7 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.12.20 to before 6.136.13
    from 6.6.84 to before 6.76.7
    from 6.13.8 to before 6.14none stated
    6.14none stated
    before 6.14: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.