{"id":"CVE-2026-99012","title":"Bluetooth: ISO: Serialize concurrent connect calls","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Serialize concurrent connect calls\n\niso_sock_connect() checks the socket state before taking the socket lock\nand drops the lock again before setting up …","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < 9b6ed57eb8c892ee7566b8c1bd06fdd0053b53de","Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < 1adcfe232c0f58890c2538211a841100ad0512bd","Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < c6489a3a0ac8c07f64cb5b44f005bc518f1048ac","Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < 3728f6b0d5990c0d500e929ba10baf93bee24f5e","Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < e32d80293a0e1a160d5e5101daa8c82148c07510","Linux 6.0"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:20:37.472Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99012","references":[{"url":"https://git.kernel.org/stable/c/9b6ed57eb8c892ee7566b8c1bd06fdd0053b53de"},{"url":"https://git.kernel.org/stable/c/1adcfe232c0f58890c2538211a841100ad0512bd"},{"url":"https://git.kernel.org/stable/c/c6489a3a0ac8c07f64cb5b44f005bc518f1048ac"},{"url":"https://git.kernel.org/stable/c/3728f6b0d5990c0d500e929ba10baf93bee24f5e"},{"url":"https://git.kernel.org/stable/c/e32d80293a0e1a160d5e5101daa8c82148c07510"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.537Z","slug":"CVE-2026-99012","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Serialize concurrent connect calls\n\niso_sock_connect() checks the socket state before taking the socket lock\nand drops the lock again before setting up a connection. Two callers can\nboth pass the admission check while the socket is open or bound.\n\nCaller A can copy its destination for route selection, then caller B can\nreplace the socket destination before A binds or connects the CIS. A\nthen uses B's destination with the route selected for its own request.\nB can also proceed after A attaches a connection and sets BT_CONNECT.\nFor deferred BIS setup, B can bind a second BIS and overwrite\niso_pi(sk)->conn, leaving the first connection's reference and conn->sk\nback-pointer stranded. Concurrent CIS connects can likewise replace the\nsocket's connection. Later teardown only detaches the current connection,\nso a callback on the old connection can race with socket release and\naccess a freed socket.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in iso_sock_hold+0xf7/0x1b0\n  Call Trace:\n   iso_sock_hold+0xf7/0x1b0\n   iso_conn_del+0x7b/0x1d0\n   iso_connect_cfm+0x186/0x16a0\n   hci_conn_failed+0x154/0x280\n   hci_abort_conn_sync+0x3dc/0x7d0\n   hci_cmd_sync_work+0x173/0x300\n\n  Allocated by task 121:\n   sk_alloc+0x2b/0x6d0\n   bt_sock_alloc+0x29/0x370\n   iso_sock_alloc.constprop.0+0x19/0x300\n   iso_sock_create+0x94/0x100\n\n  Freed by task 121:\n   kfree+0x121/0x3c0\n   __sk_destruct+0x42b/0x540\n   iso_sock_release+0x29d/0x340\n   __sock_release+0xa1/0x260\n\nCheck admission under the socket lock and mark the connect operation in\nprogress before publishing its destination. Keep that flag set across\nroute lookup and connection setup, rejecting another connect with\n-EBADFD before it can change the destination or attach a connection.\nClear the flag after either helper returns, including on failure, so a\nfailed setup can be retried.\n\nA separate flag is needed because the socket lock must be released before\nacquiring the HCI device lock, while BT_CONNECT requires an attached\nconnection. Keep the existing state transitions and the deferred CIS\ncompletion through iso_sock_recvmsg().\n\nReject an existing socket attachment in __iso_chan_add() before taking\na new reference or publishing either pointer, so every caller preserves\nthe connection association. Keep the same-socket, same-connection success\ncase for deferred CIS setup. Reject an attached socket before BIS setup\nso a reusable BIS is not claimed before the attachment is rejected.\n\nIn CIS setup, reject a different HCI connection before iso_conn_add()\nand drop the per-attempt HCI hold directly. An unowned iso_conn may still\ncarry another reference after detachment, so its destruction cannot be\nrelied on to release that hold.\n\niso_listen_bis() creates a fresh PA HCI/ISO pair under the device lock,\nso the temporary iso_conn_put() frees the ISO candidate and drops its\nHCI hold on rejection. iso_conn_ready() uses a freshly allocated,\nunpublished child with no connection, making the socket-side rejection\nunreachable.\n\n## Affected\n\n- `Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < 9b6ed57eb8c892ee7566b8c1bd06fdd0053b53de`\n- `Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < 1adcfe232c0f58890c2538211a841100ad0512bd`\n- `Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < c6489a3a0ac8c07f64cb5b44f005bc518f1048ac`\n- `Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < 3728f6b0d5990c0d500e929ba10baf93bee24f5e`\n- `Linux >= ccf74f2390d60a2f9a75ef496d2564abb478f46a < e32d80293a0e1a160d5e5101daa8c82148c07510`\n- `Linux 6.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}