{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-90091","id":"CVE-2026-90091","title":"Bluetooth: L2CAP: fix race l2cap_sock_cleanup_listen() vs. put_chan","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix race l2cap_sock_cleanup_listen() vs. put_chan\n\nFor L2CAP sockets without owning sk->sk_socket, reading\nl2cap_pi(sk)->chan may race against concurrent l2cap_sock_kill() ->\nl2cap_sock_put_chan().  This excludes simultaneous proto_ops callbacks,\nbut access in l2cap_sock_cleanup_listen() has unsafe lockless read","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix race l2cap_sock_cleanup_listen() vs. put_chan\n\nFor L2CAP sockets without owning sk->sk_socket, reading\nl2cap_pi(sk)->chan may race against concurrent l2cap_sock_kill() ->\nl2cap_sock_put_chan().  This excludes simultaneous proto_ops callbacks,\nbut access in l2cap_sock_cleanup_listen() has unsafe lockless read.\n\n [Task 1]                         [Task 2 (hdev->workqueue)]\n l2cap_sock_release(parent)       l2cap_disconn_cfm\n   l2cap_sock_cleanup_listen        l2cap_conn_del\n     bt_accept_dequeue                l2cap_chan_del\n       lock_sock(sk)                    l2cap_sock_teardown_cb\n       bt_accept_unlink\n         bt_sk(sk)->parent = NULL\n       release_sock(sk) ----------------> lock_sock(sk)\n                                          parent = /* NULL */\n     lock_sock(sk) <--------------------- release_sock(sk)\n                                          sock_set_flag(sk, SOCK_ZAPPED)\n                                      l2cap_sock_close_cb\n                                        l2cap_sock_kill(sk)\n                                          l2cap_sock_put_chan\n     chan = READ l2cap_pi(sk)->chan         l2cap_pi(sk)->chan = NULL\n     l2cap_chan_hold_unless_zero            l2cap_put_chan(chan)\n       kref_get_unless_zero(&chan->ref)\n\nTask 1 may observe NULL which causes null-ptr-deref.\n\nFix the race by taking lock_sock() in l2cap_sock_kill() to\nsynchronize with l2cap_sock_cleanup_listen().  hold_unless_zero() is not\nneeded here, l2cap_pi(sk)->chan owns reference if it is non-NULL.\n\nClarify code comments vs. locking.","published":"2026-09-17T16:06:05.478Z","updated":"2026-11-17T07:03:28.465713772Z","reserved":"2026-09-11T19:38:34.786Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b39298044e5534612511a2ff5de03ba5f6e7a820","lessThan":"827de6bd2865b22aaabd554540def3b8a33018ab","status":"affected","versionType":"git"},{"version":"8c37e4338c801ebb8cee52436c01c41e009f6e87","lessThan":"7c7ac736b50fa259ed1bdddc18d79523f07c0442","status":"affected","versionType":"git"},{"version":"84e718b6a814edc84159361f9f454a4e92ae91ae","lessThan":"4f8c63fe0097c9f6ea34409f82f79b3894903d91","status":"affected","versionType":"git"},{"version":"36da806f7fbaee56ad9e81859deec203f9728700","lessThan":"61d5ddbd524c715b224cbe7e9f01da4e05098b19","status":"affected","versionType":"git"},{"version":"6fef032af0092ed5ccb767239a9ac1bc38c08a40","lessThan":"32a7bc6e93be36b37fe61f351d312d358195bd61","status":"affected","versionType":"git"},{"version":"6fef032af0092ed5ccb767239a9ac1bc38c08a40","lessThan":"66d6ef18548ae6d7dd452b84115fc82c0a73a4ea","status":"affected","versionType":"git"},{"version":"733e76e74e406c1d1ddc7369420dd8a47f48bb8a","status":"affected","versionType":"git"},{"version":"6.1.178","lessThan":"6.1.188","status":"affected","versionType":"semver"},{"version":"6.6.145","lessThan":"6.6.157","status":"affected","versionType":"semver"},{"version":"6.12.97","lessThan":"6.12.110","status":"affected","versionType":"semver"},{"version":"6.18.40","lessThan":"6.18.52","status":"affected","versionType":"semver"},{"version":"7.1.5","lessThan":"7.2","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.110","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.52","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.6","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/827de6bd2865b22aaabd554540def3b8a33018ab","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7c7ac736b50fa259ed1bdddc18d79523f07c0442","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4f8c63fe0097c9f6ea34409f82f79b3894903d91","tags":["web"]},{"url":"https://git.kernel.org/stable/c/61d5ddbd524c715b224cbe7e9f01da4e05098b19","tags":["web"]},{"url":"https://git.kernel.org/stable/c/32a7bc6e93be36b37fe61f351d312d358195bd61","tags":["web"]},{"url":"https://git.kernel.org/stable/c/66d6ef18548ae6d7dd452b84115fc82c0a73a4ea","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90091.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90091","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00362,"epssPercentile":0.30675,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-90091","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90091","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-90091","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-90091","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}