freenode

← CVE tracker

CVE-2026-139085

Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()

Severity
high CVSS 7.8 (v3.1)
Affects
Linux
Published
30 November 2026 by Linux
First seen on our lists
30 November 2026
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().

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists