{"id":"CVE-2026-139085","aliases":["CVE-2026-139085"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()\n\nl2cap_sock_shutdown() has the race condition\n\n    [Task 1]                      [Task 2]\n    l2cap_sock_shutdown           l2cap_sock_connect\n      l2cap_chan_lock               l2cap_chan_connect\n      conn = ... /* == NULL*/\n      l2cap_chan_unlock ------------> l2cap_chan_lock\n      if (conn) /* false */\n                                      __l2cap_chan_add(conn, chan)\n      l2cap_chan_lock <-------------- l2cap_chan_unlock\n      l2cap_chan_close /* chan->conn->lock not held! */\n\nconn->lock protects conn->chan_l and is not properly held here.\n\nUse the l2cap_chan_close_unlocked() helper that ensures conn->lock is\nheld for l2cap_chan_close().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()\n\nl2cap_sock_shutdown() has the race condition\n\n    [Task 1]                      [Task 2]\n    l2cap_sock_shutdown           l2cap_sock_connect\n      l2cap_chan_lock               l2cap_chan_connect\n      conn = ... /* == NULL*/\n      l2cap_chan_unlock ------------> l2cap_chan_lock\n      if (conn) /* false */\n                                      __l2cap_chan_add(conn, chan)\n      l2cap_chan_lock <-------------- l2cap_chan_unlock\n      l2cap_chan_close /* chan->conn->lock not held! */\n\nconn->lock protects conn->chan_l and is not properly held here.\n\nUse the l2cap_chan_close_unlocked() helper that ensures conn->lock is\nheld for l2cap_chan_close().","source":"cvelist"}],"published":"2026-11-30T13:31:26.335Z","modified":"2026-12-01T06:17:34.493Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ab4eedb790cae44313759b50fe47da285e2519d5","fixed":"6dbe2ac00eb330be99898cd390be883221d6d156","status":"affected"},{"type":"git","introduced":"ab4eedb790cae44313759b50fe47da285e2519d5","fixed":"79ff49a72c06abdf76872dccc687e2a83c4f407f","status":"affected"},{"type":"git","version":"efc30877bd4bc85fefe98d80af60fafc86e5775e","status":"affected"},{"type":"git","version":"f87271d21dd4ee83857ca11b94e7b4952749bbae","status":"affected"},{"type":"git","version":"18ab6b6078fa8191ca30a3065d57bf35d5635761","status":"affected"},{"type":"semver","introduced":"6.6.84","fixed":"6.7","status":"affected"},{"type":"semver","introduced":"6.12.20","fixed":"6.13","status":"affected"},{"type":"semver","introduced":"6.13.8","fixed":"6.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6dbe2ac00eb330be99898cd390be883221d6d156","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79ff49a72c06abdf76872dccc687e2a83c4f407f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139085","url":"https://www.cve.org/CVERecord?id=CVE-2026-139085","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:07.746Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139085","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139085","licence":"Public domain","modified":"2026-12-01T06:17:34.493Z"}],"updatedAt":"2026-12-01T06:32:21.116Z","epss":{"score":0.00309,"percentile":0.25574,"date":"2026-12-01T12:00:22.000Z"}}