KernelScan.io

HIGH Introduced in 6.13

bluetooth BISListener UAF

CVE-2026-99013

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.1HIGH

01

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: Reject concurrent BIS listener setup iso_sock_listen() drops the socket lock before calling iso_listen_bis() to preserve the hdev->lock ordering. Two concurrent listen() calls on the same broadcast socket can therefore both observe BT_BOUND. Caller A can attach connA and release the locks, then caller B can acquire them and attach connB before A publishes BT_LISTEN. __iso_chan_add() checks whether connB already has a socket, but not whether the socket already has a connection. The second attachment overwrites iso_pi(sk)->conn, leaking the connA reference and leaving connA->sk intact. Socket teardown follows connB, so later events on connA can cause a stale socket access. Recheck BT_BOUND and require iso_pi(sk)->conn to be NULL after taking both the HCI device and socket locks in iso_listen_bis(). The connection check also covers the interval between attachment and publication of BT_LISTEN. Reject a competing setup with -EBADFD through the existing unlock path before allocating another connection. A recorded KASAN report from an instrumented kernel shows: BUG: KASAN: slab-use-after-free in iso_sock_hold+0x119/0x1f0 Call Trace: iso_sock_hold+0x119/0x1f0 iso_conn_del+0xe4/0x270 hci_disconn_complete_evt+0x351/0x8c0 hci_event_packet+0x71b/0xb20 hci_rx_work+0x293/0x730 Allocated by task 93: sk_prot_alloc+0x113/0x220 sk_alloc+0x2b/0x6d0 bt_sock_alloc+0x29/0x370 iso_sock_alloc.constprop.0+0x19/0x300 iso_sock_create+0x94/0x100 Freed by task 93: kfree+0x121/0x3c0 __sk_destruct+0x42b/0x540 iso_sock_release+0x29d/0x340 __sock_release+0xa1/0x260 sock_close+0x10/0x20

02

Engine v0.9.0

Risk summary

A local user with Bluetooth access can trigger a use-after-free in the kernel's Bluetooth ISO subsystem by racing two concurrent listen() calls on a broadcast socket. This allows kernel memory corruption leading to privilege escalation, information disclosure, or system crash. The vulnerability affects systems with Bluetooth 5.2+ hardware and the Bluetooth stack enabled.

Affectednet/bluetooth/iso.c (Bluetooth ISO subsystem)

Vulnerability analysis

The Bluetooth ISO subsystem's BIS listener setup has a race condition where two concurrent listen() calls on the same broadcast socket can both pass the initial state check while the socket lock is temporarily dropped. The first caller attaches a connection object and releases the locks; the second caller then attaches a different connection object before the first publishes the listening state. The second attachment overwrites the socket's connection pointer without checking whether one already exists, leaking the first connection's reference and leaving its back-pointer to the socket intact. When the socket is later closed, teardown follows the second connection, so subsequent events on the first connection (such as a disconnect) dereference the already-freed socket, causing a use-after-free. The fix revalidates the socket state and ensures no connection is already attached after reacquiring both locks, rejecting the racing caller with -EBADFD. An attacker needs only a local account with permission to open Bluetooth ISO sockets (typically via the bluetooth group or CAP_NET_ADMIN in a user namespace) and a Bluetooth 5.2+ controller supporting isochronous channels.

03

BranchIntroducedFixed inPatch commit
6.126.12.66.12.113559e4d2b6f83
6.186.136.18.5790b744066ca5
7.26.137.2.1179993e9919a8
mainline6.137.3555ff78fa719
cip/6.126.136.12.114-cip34559e4d2b6f83

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34