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().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ab4eedb790cae44313759b50fe47da285e2519d5 to < 6dbe2ac00eb330be99898cd390be883221d6d156affectedab4eedb790cae44313759b50fe47da285e2519d5 to < 79ff49a72c06abdf76872dccc687e2a83c4f407faffectedefc30877bd4bc85fefe98d80af60fafc86e5775eaffectedf87271d21dd4ee83857ca11b94e7b4952749bbaeaffected18ab6b6078fa8191ca30a3065d57bf35d5635761affected6.6.84 to < 6.7affected6.12.20 to < 6.13affected6.13.8 to < 6.14affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected