CVE-2026-99012: Bluetooth: ISO: Serialize concurrent connect calls

Published Oct 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: ISO: Serialize concurrent connect calls

isosockconnect() checks the socket state before taking the socket lock and drops the lock again before setting up a connection. Two callers can both pass the admission check while the socket is open or bound.

Caller A can copy its destination for route selection, then caller B can replace the socket destination before A binds or connects the CIS. A then uses B's destination with the route selected for its own request. B can also proceed after A attaches a connection and sets BTCONNECT. For deferred BIS setup, B can bind a second BIS and overwrite isopi(sk)->conn, leaving the first connection's reference and conn->sk back-pointer stranded. Concurrent CIS connects can likewise replace the socket's connection. Later teardown only detaches the current connection, so a callback on the old connection can race with socket release and access a freed socket.

KASAN reported:

BUG: KASAN: slab-use-after-free in isosockhold+0xf7/0x1b0 Call Trace: isosockhold+0xf7/0x1b0 isoconndel+0x7b/0x1d0 isoconnectcfm+0x186/0x16a0 hciconnfailed+0x154/0x280 hciabortconnsync+0x3dc/0x7d0 hcicmdsyncwork+0x173/0x300

Allocated by task 121: skalloc+0x2b/0x6d0 btsockalloc+0x29/0x370 isosockalloc.constprop.0+0x19/0x300 isosockcreate+0x94/0x100

Freed by task 121: kfree+0x121/0x3c0 skdestruct+0x42b/0x540 isosockrelease+0x29d/0x340 sockrelease+0xa1/0x260

Check admission under the socket lock and mark the connect operation in progress before publishing its destination. Keep that flag set across route lookup and connection setup, rejecting another connect with -EBADFD before it can change the destination or attach a connection. Clear the flag after either helper returns, including on failure, so a failed setup can be retried.

A separate flag is needed because the socket lock must be released before acquiring the HCI device lock, while BTCONNECT requires an attached connection. Keep the existing state transitions and the deferred CIS completion through isosockrecvmsg().

Reject an existing socket attachment in isochanadd() before taking a new reference or publishing either pointer, so every caller preserves the connection association. Keep the same-socket, same-connection success case for deferred CIS setup. Reject an attached socket before BIS setup so a reusable BIS is not claimed before the attachment is rejected.

In CIS setup, reject a different HCI connection before isoconnadd() and drop the per-attempt HCI hold directly. An unowned isoconn may still carry another reference after detachment, so its destruction cannot be relied on to release that hold.

isolistenbis() creates a fresh PA HCI/ISO pair under the device lock, so the temporary isoconnput() frees the ISO candidate and drops its HCI hold on rejection. isoconnready() uses a freshly allocated, unpublished child with no connection, making the socket-side rejection unreachable.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 23, 2026
CVE Published
via MITRE·12:20 PM
Data Sourced
via MITRE·12:20 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203