{
  "id": "CVE-2026-53357",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-53357",
  "published_at": "2026-07-02T13:43:17.077Z",
  "title": "Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 -\u003e\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 -\u003e l2cap_sock_close_cb -\u003e 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-\u003elock is not taken here: cleanup_listen() runs under\nthe parent sk lock and that would invert\nconn-\u003elock -\u003e chan-\u003elock -\u003e 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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c 751de6ec671fe75ad9cf65a0638d2a06b6a5984d",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c 407217734835d21d4e0105ebf347860dc1806f88",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c 7eebd4c2c86f573af87ff165d08a83432eb0b919",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c 5d86d2f1b4d9a508c441d3e45277ae1a73cfed57",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c 87c543e2f78d0871f271df92dab98901bbd5b6f5",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c added1213395071470a900cc845a042fb51882a6",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c a5ca86a6097a8b030ca3226cd300b17ed330f966",
          "\u003e= 15f02b91056253e8cdc592888f431da0731337b8, \u003c ab1513597c6cf17cd1ad2a21e3b045421b48e022"
        ],
        "fixed_in": [
          "751de6ec671fe75ad9cf65a0638d2a06b6a5984d",
          "407217734835d21d4e0105ebf347860dc1806f88",
          "7eebd4c2c86f573af87ff165d08a83432eb0b919",
          "5d86d2f1b4d9a508c441d3e45277ae1a73cfed57",
          "87c543e2f78d0871f271df92dab98901bbd5b6f5",
          "added1213395071470a900cc845a042fb51882a6",
          "a5ca86a6097a8b030ca3226cd300b17ed330f966",
          "ab1513597c6cf17cd1ad2a21e3b045421b48e022"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.7"
        ],
        "fixed_in": [
          "0",
          "5.10.259",
          "5.15.210",
          "6.1.175",
          "6.6.142",
          "6.12.92",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 751de6ec671fe75ad9cf65a0638d2a06b6a5984d or 407217734835d21d4e0105ebf347860dc1806f88 or 7eebd4c2c86f573af87ff165d08a83432eb0b919 or 5d86d2f1b4d9a508c441d3e45277ae1a73cfed57 or 87c543e2f78d0871f271df92dab98901bbd5b6f5 or added1213395071470a900cc845a042fb51882a6 or a5ca86a6097a8b030ca3226cd300b17ed330f966 or ab1513597c6cf17cd1ad2a21e3b045421b48e022 or later.",
      "Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.175 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
