{"api_version":"1","generated_at":"2026-07-03T13:33:26+00:00","cve":"CVE-2026-53357","urls":{"html":"https://cve.report/CVE-2026-53357","api":"https://cve.report/api/cve/CVE-2026-53357.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53357","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53357"},"summary":{"title":"Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()\n\nbt_accept_dequeue() unlinks a not-yet-accepted child from the parent\naccept queue and release_sock()s it before returning, so the returned\nsk has no caller reference and is unlocked.\n\nl2cap_sock_cleanup_listen() walks these children on listening-socket\nclose.  A concurrent HCI disconnect drives hci_rx_work ->\nl2cap_conn_del() which runs l2cap_chan_del() + l2cap_sock_kill() and\nfrees the child sk and its l2cap_chan; cleanup_listen() then uses both:\n\n  BUG: KASAN: slab-use-after-free in l2cap_sock_kill\n    l2cap_sock_kill / l2cap_sock_cleanup_listen / __x64_sys_close\n  Freed by: l2cap_conn_del -> l2cap_sock_close_cb -> l2cap_sock_kill\n\nThis is distinct from the two fixes already in this area: commit\ne83f5e24da741 (\"Bluetooth: serialize accept_q access\") serialises the\naccept_q list/poll and takes temporary refs inside bt_accept_dequeue(),\nand CVE-2025-39860 serialises the userspace close()/accept() race by\ncalling cleanup_listen() under lock_sock() in l2cap_sock_release().\nNeither covers l2cap_conn_del() running from hci_rx_work, so this UAF\nstill reproduces on current bluetooth/master.\n\nTake the reference at the source: bt_accept_dequeue() does sock_hold()\nwhile sk is still locked, before release_sock(); callers sock_put().\ncleanup_listen() pins the chan with l2cap_chan_hold_unless_zero() under\na brief child sk lock (serialising vs l2cap_sock_teardown_cb()), drops\nit before l2cap_chan_lock(), and skips a duplicate l2cap_sock_kill() on\nSOCK_DEAD.  conn->lock is not taken here: cleanup_listen() runs under\nthe parent sk lock and that would invert\nconn->lock -> chan->lock -> sk_lock (lockdep).\n\nKASAN/SMP: an unprivileged listen/close vs HCI-disconnect race produced\n12 use-after-free reports per run before this change; 0, and no lockdep\nreport, over 1600+ raced iterations after it on bluetooth/master.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-02 15:17:03","updated_at":"2026-07-02 15:17:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a5ca86a6097a8b030ca3226cd300b17ed330f966","name":"https://git.kernel.org/stable/c/a5ca86a6097a8b030ca3226cd300b17ed330f966","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d86d2f1b4d9a508c441d3e45277ae1a73cfed57","name":"https://git.kernel.org/stable/c/5d86d2f1b4d9a508c441d3e45277ae1a73cfed57","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/407217734835d21d4e0105ebf347860dc1806f88","name":"https://git.kernel.org/stable/c/407217734835d21d4e0105ebf347860dc1806f88","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/751de6ec671fe75ad9cf65a0638d2a06b6a5984d","name":"https://git.kernel.org/stable/c/751de6ec671fe75ad9cf65a0638d2a06b6a5984d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/87c543e2f78d0871f271df92dab98901bbd5b6f5","name":"https://git.kernel.org/stable/c/87c543e2f78d0871f271df92dab98901bbd5b6f5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/added1213395071470a900cc845a042fb51882a6","name":"https://git.kernel.org/stable/c/added1213395071470a900cc845a042fb51882a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7eebd4c2c86f573af87ff165d08a83432eb0b919","name":"https://git.kernel.org/stable/c/7eebd4c2c86f573af87ff165d08a83432eb0b919","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ab1513597c6cf17cd1ad2a21e3b045421b48e022","name":"https://git.kernel.org/stable/c/ab1513597c6cf17cd1ad2a21e3b045421b48e022","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53357","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53357","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 751de6ec671fe75ad9cf65a0638d2a06b6a5984d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 407217734835d21d4e0105ebf347860dc1806f88 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 7eebd4c2c86f573af87ff165d08a83432eb0b919 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 5d86d2f1b4d9a508c441d3e45277ae1a73cfed57 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 87c543e2f78d0871f271df92dab98901bbd5b6f5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 added1213395071470a900cc845a042fb51882a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 a5ca86a6097a8b030ca3226cd300b17ed330f966 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 15f02b91056253e8cdc592888f431da0731337b8 ab1513597c6cf17cd1ad2a21e3b045421b48e022 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.259 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.210 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.175 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.142 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.92 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.34 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.11 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/bluetooth/af_bluetooth.c","net/bluetooth/iso.c","net/bluetooth/l2cap_sock.c","net/bluetooth/rfcomm/sock.c","net/bluetooth/sco.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"751de6ec671fe75ad9cf65a0638d2a06b6a5984d","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"407217734835d21d4e0105ebf347860dc1806f88","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"7eebd4c2c86f573af87ff165d08a83432eb0b919","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"5d86d2f1b4d9a508c441d3e45277ae1a73cfed57","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"87c543e2f78d0871f271df92dab98901bbd5b6f5","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"added1213395071470a900cc845a042fb51882a6","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"a5ca86a6097a8b030ca3226cd300b17ed330f966","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"},{"lessThan":"ab1513597c6cf17cd1ad2a21e3b045421b48e022","status":"affected","version":"15f02b91056253e8cdc592888f431da0731337b8","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/bluetooth/af_bluetooth.c","net/bluetooth/iso.c","net/bluetooth/l2cap_sock.c","net/bluetooth/rfcomm/sock.c","net/bluetooth/sco.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.7"},{"lessThan":"5.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.259","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.210","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.175","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.142","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.92","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.34","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.259","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.210","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.175","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.142","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.92","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.34","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.11","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"5.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()\n\nbt_accept_dequeue() unlinks a not-yet-accepted child from the parent\naccept queue and release_sock()s it before returning, so the returned\nsk has no caller reference and is unlocked.\n\nl2cap_sock_cleanup_listen() walks these children on listening-socket\nclose.  A concurrent HCI disconnect drives hci_rx_work ->\nl2cap_conn_del() which runs l2cap_chan_del() + l2cap_sock_kill() and\nfrees the child sk and its l2cap_chan; cleanup_listen() then uses both:\n\n  BUG: KASAN: slab-use-after-free in l2cap_sock_kill\n    l2cap_sock_kill / l2cap_sock_cleanup_listen / __x64_sys_close\n  Freed by: l2cap_conn_del -> l2cap_sock_close_cb -> l2cap_sock_kill\n\nThis is distinct from the two fixes already in this area: commit\ne83f5e24da741 (\"Bluetooth: serialize accept_q access\") serialises the\naccept_q list/poll and takes temporary refs inside bt_accept_dequeue(),\nand CVE-2025-39860 serialises the userspace close()/accept() race by\ncalling cleanup_listen() under lock_sock() in l2cap_sock_release().\nNeither covers l2cap_conn_del() running from hci_rx_work, so this UAF\nstill reproduces on current bluetooth/master.\n\nTake the reference at the source: bt_accept_dequeue() does sock_hold()\nwhile sk is still locked, before release_sock(); callers sock_put().\ncleanup_listen() pins the chan with l2cap_chan_hold_unless_zero() under\na brief child sk lock (serialising vs l2cap_sock_teardown_cb()), drops\nit before l2cap_chan_lock(), and skips a duplicate l2cap_sock_kill() on\nSOCK_DEAD.  conn->lock is not taken here: cleanup_listen() runs under\nthe parent sk lock and that would invert\nconn->lock -> chan->lock -> sk_lock (lockdep).\n\nKASAN/SMP: an unprivileged listen/close vs HCI-disconnect race produced\n12 use-after-free reports per run before this change; 0, and no lockdep\nreport, over 1600+ raced iterations after it on bluetooth/master."}],"providerMetadata":{"dateUpdated":"2026-07-02T13:43:17.077Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/751de6ec671fe75ad9cf65a0638d2a06b6a5984d"},{"url":"https://git.kernel.org/stable/c/407217734835d21d4e0105ebf347860dc1806f88"},{"url":"https://git.kernel.org/stable/c/7eebd4c2c86f573af87ff165d08a83432eb0b919"},{"url":"https://git.kernel.org/stable/c/5d86d2f1b4d9a508c441d3e45277ae1a73cfed57"},{"url":"https://git.kernel.org/stable/c/87c543e2f78d0871f271df92dab98901bbd5b6f5"},{"url":"https://git.kernel.org/stable/c/added1213395071470a900cc845a042fb51882a6"},{"url":"https://git.kernel.org/stable/c/a5ca86a6097a8b030ca3226cd300b17ed330f966"},{"url":"https://git.kernel.org/stable/c/ab1513597c6cf17cd1ad2a21e3b045421b48e022"}],"title":"Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53357","datePublished":"2026-07-02T13:43:17.077Z","dateReserved":"2026-06-09T07:44:35.400Z","dateUpdated":"2026-07-02T13:43:17.077Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-02 15:17:03","lastModifiedDate":"2026-07-02 15:17:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53357","Ordinal":"1","Title":"Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_","CVE":"CVE-2026-53357","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53357","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()\n\nbt_accept_dequeue() unlinks a not-yet-accepted child from the parent\naccept queue and release_sock()s it before returning, so the returned\nsk has no caller reference and is unlocked.\n\nl2cap_sock_cleanup_listen() walks these children on listening-socket\nclose.  A concurrent HCI disconnect drives hci_rx_work ->\nl2cap_conn_del() which runs l2cap_chan_del() + l2cap_sock_kill() and\nfrees the child sk and its l2cap_chan; cleanup_listen() then uses both:\n\n  BUG: KASAN: slab-use-after-free in l2cap_sock_kill\n    l2cap_sock_kill / l2cap_sock_cleanup_listen / __x64_sys_close\n  Freed by: l2cap_conn_del -> l2cap_sock_close_cb -> l2cap_sock_kill\n\nThis is distinct from the two fixes already in this area: commit\ne83f5e24da741 (\"Bluetooth: serialize accept_q access\") serialises the\naccept_q list/poll and takes temporary refs inside bt_accept_dequeue(),\nand CVE-2025-39860 serialises the userspace close()/accept() race by\ncalling cleanup_listen() under lock_sock() in l2cap_sock_release().\nNeither covers l2cap_conn_del() running from hci_rx_work, so this UAF\nstill reproduces on current bluetooth/master.\n\nTake the reference at the source: bt_accept_dequeue() does sock_hold()\nwhile sk is still locked, before release_sock(); callers sock_put().\ncleanup_listen() pins the chan with l2cap_chan_hold_unless_zero() under\na brief child sk lock (serialising vs l2cap_sock_teardown_cb()), drops\nit before l2cap_chan_lock(), and skips a duplicate l2cap_sock_kill() on\nSOCK_DEAD.  conn->lock is not taken here: cleanup_listen() runs under\nthe parent sk lock and that would invert\nconn->lock -> chan->lock -> sk_lock (lockdep).\n\nKASAN/SMP: an unprivileged listen/close vs HCI-disconnect race produced\n12 use-after-free reports per run before this change; 0, and no lockdep\nreport, over 1600+ raced iterations after it on bluetooth/master.","Type":"Description","Title":"Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_"}]}}}