{"id":"CVE-2026-90092","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-09-17T17:17:00.757","lastModified":"2026-10-19T09:18:58.417","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: reject accept queue add unless BT_LISTEN\n\nNew sk should not be added to parent socket accept queue after last\nl2cap_sock_cleanup_listen() has run in l2cap_sock_teardown_cb() and\nstate set to BT_CLOSED, as that can result to UAF on dereferencing the\ndangling parent reference.\n\nl2cap_sock_new_connection_cb() may race with parent l2cap_chan teardown,\ndue to chan->state accessed without consistent locking:\n\n  [Task 1]                           [Task 2]\n  l2cap_sock_release(parent)         l2cap_connect\n    l2cap_sock_shutdown                pchan = l2cap_global_chan_by_psm\n      l2cap_chan_lock(pchan)\n      l2cap_chan_close\n        l2cap_sock_teardown_cb\n          pchan->state = BT_CLOSED\n      l2cap_chan_unlock(pchan) ------> l2cap_chan_lock(pchan)\n                                       l2cap_new_connection\n                                         l2cap_sock_new_connection_cb\n      l2cap_chan_lock(pchan) <-------- l2cap_chan_unlock(pchan)\n      l2cap_sock_kill(parent)          /* bt_sk(sk)->parent dangling */\n\nFix by adding check for sk_state == BT_LISTEN after acquiring sk lock in\nl2cap_sock_new_connection_cb().  Add lock_sock() around sk_state writes\nwhere missing, to avoid data races.\n\nAlthough the data races on pchan->state should be fixed too, this\ndefensive sk_state check probably makes sense in any case."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/bluetooth/l2cap_sock.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"0c17c8832562b2aac288e89cefd0f46074f54bcb","lessThan":"bf61a65c6093970e3b50031c4b79ebf3bd411eba","versionType":"git","status":"affected"},{"version":"5105f3e6b2df619c635b5f6a49fac131a36c7952","lessThan":"491e4c60017969b053888029998d2a61f298986a","versionType":"git","status":"affected"},{"version":"c88c185ae0a1067823661b220aeea613df2c127b","lessThan":"2a3a27aaf19bf069720e024ce6fde54e6bf80df9","versionType":"git","status":"affected"},{"version":"1810e42ff6716f320c7269d5850eca48b07b7427","lessThan":"87276dc15b559d32757a43b4415c8445fbae06c4","versionType":"git","status":"affected"},{"version":"2ff1a41a912de8517b4482e946dd951b7d80edbf","lessThan":"c47339e169bf4a0a4cfabb91351471f67744c2bc","versionType":"git","status":"affected"},{"version":"2ff1a41a912de8517b4482e946dd951b7d80edbf","lessThan":"d4bfa78fd67929b62b02013c107973e0c5b7aa9a","versionType":"git","status":"affected"},{"version":"1b1c0da227bf63479bac9982fc8d12df9aaea0fb","versionType":"git","status":"affected"},{"version":"85426e97dc72f2088ba6d27e74cd58c3fbd43e31","versionType":"git","status":"affected"},{"version":"a2dcf1a61d056aef15b63c6eae9441344d624389","versionType":"git","status":"affected"},{"version":"6.1.175","lessThan":"6.1.188","versionType":"semver","status":"affected"},{"version":"6.6.140","lessThan":"6.6.157","versionType":"semver","status":"affected"},{"version":"6.12.88","lessThan":"6.12.110","versionType":"semver","status":"affected"},{"version":"6.18.30","lessThan":"6.18.52","versionType":"semver","status":"affected"},{"version":"5.10.258","lessThan":"5.11","versionType":"semver","status":"affected"},{"version":"5.15.209","lessThan":"5.16","versionType":"semver","status":"affected"},{"version":"7.0.7","lessThan":"7.1","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/bluetooth/l2cap_sock.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","versionType":"semver","status":"unaffected"},{"version":"6.1.188","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.157","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.110","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.52","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.6","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.0,"baseSeverity":"HIGH","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.1,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/2a3a27aaf19bf069720e024ce6fde54e6bf80df9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/491e4c60017969b053888029998d2a61f298986a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/87276dc15b559d32757a43b4415c8445fbae06c4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bf61a65c6093970e3b50031c4b79ebf3bd411eba","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c47339e169bf4a0a4cfabb91351471f67744c2bc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d4bfa78fd67929b62b02013c107973e0c5b7aa9a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}