HIGH Introduced in 6.0
bluetooth IsoFragment UAF
CVE-2026-98733
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Serialize fragmented ISO packet queueing The fragmented path in hci_queue_iso() calls __skb_queue_tail() without holding conn->data_q.lock. The socket lock serializes senders, but the transmit worker can concurrently remove packets from this queue using skb_dequeue(). After an insertion saves the old tail pointer, hci_sched_iso() can dequeue that packet and pass it to the driver. The driver can free the packet before the insertion resumes and writes to the old tail's next pointer, causing a use-after-free. Concurrent updates can also corrupt the queue. KASAN reported: BUG: KASAN: slab-use-after-free in hci_send_iso+0xc7d/0xe10 Call Trace: hci_send_iso+0xc7d/0xe10 iso_sock_sendmsg+0x710/0x900 __sys_sendto+0x34a/0x3a0 Allocated by task 86: __alloc_skb+0xdd/0x820 alloc_skb_with_frags+0x7e/0x770 sock_alloc_send_pskb+0x67a/0x820 bt_skb_sendmsg.constprop.0+0xc0/0x6c0 iso_sock_sendmsg+0x44e/0x900 Freed by task 90: kmem_cache_free+0xcb/0x3d0 vhci_read+0x33f/0x4d0 vfs_read+0x177/0xa20 Hold the queue lock across the entire fragment batch, as hci_queue_acl() does, to serialize insertion against dequeue while preserving fragment ordering.
02KernelScan AI Analysis
Risk summary
A local attacker with access to Bluetooth ISO sockets can trigger a use-after-free in the kernel's Bluetooth HCI core by racing fragmented packet queueing against the transmit worker. Successful exploitation allows arbitrary kernel memory read and write, leading to privilege escalation or kernel panic. The vulnerability affects all kernels since 6.0 with Bluetooth ISO (CIS) support enabled.
Vulnerability analysis
When queueing fragmented ISO packets, the Bluetooth HCI core inserts each fragment into the connection's data queue without holding the queue lock. The socket lock serializes concurrent senders, but a kernel transmit worker can simultaneously dequeue packets and hand them to the controller driver, which may free the skb. If the driver frees a fragment after the sender has saved the tail pointer but before the sender links the next fragment, the sender writes to freed memory — a use-after-free. The fix wraps the entire fragment batch insertion in the queue spinlock (matching the existing ACL path), serializing enqueue against dequeue while preserving fragment ordering. The bug is reachable by any local user who can open a Bluetooth ISO socket (typically via CAP_NET_ADMIN, obtainable in a user namespace) and send fragmented data; virtual HCI (vhci) is sufficient, so no physical Bluetooth hardware is required.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.1 | 6.0 | 6.1.191 | e328b5823fa6 |
| 6.12 | 6.0 | 6.12.113 | d6d709981208 |
| 6.18 | 6.0 | 6.18.56 | 708cdd203d0b |
| 6.6 | 6.0 | 6.6.160 | 545fa70f730e |
| 7.2 | 6.0 | 7.2.10 | a7161730a3ab |
| mainline | 6.0 | 7.3 | 1a572db43c05 |
| cip/6.12 | 6.0 | 6.12.114-cip34 | d6d709981208 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |