KernelScan.io

HIGH Introduced in 3.3

bluetooth Connection UAF

CVE-2026-98734

CVSS 7.0 / 10.0 KernelScan AI

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

01

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Serialize SCO and ISO scheduling with teardown hci_low_sent() selects a connection under RCU but drops the read lock before calculating its quota and returning it to the scheduler. The connection is then used without lifetime protection by hci_sched_iso() and hci_sched_sco(). After the TX worker drops the RCU read lock, hci_abort_conn_sync() on hdev->req_workqueue can remove the connection from the hash, complete synchronize_rcu(), purge its queues and release it. The TX worker on hdev->workqueue can then access the freed connection in hci_quote_sent() or while dequeuing packets and updating conn->sent. KASAN reported: BUG: KASAN: slab-use-after-free in hci_low_sent+0x730/0x840 Workqueue: hci0 hci_tx_work Call Trace: hci_low_sent+0x730/0x840 hci_sched_iso+0x25e/0x4d0 hci_tx_work+0x239/0xcb0 Allocated by task 93: __hci_conn_add+0x16f/0x1b40 hci_bind_bis+0x782/0x17b0 hci_connect_bis+0xa0/0x510 iso_sock_connect+0x589/0x1050 Freed by task 88: kfree+0x131/0x3c0 device_release+0xc8/0x240 kobject_put+0x14d/0x280 hci_conn_del+0x55a/0xe80 hci_disconnect_sync+0x156/0x180 hci_abort_conn_sync+0x3e7/0x940 hci_cmd_sync_work+0x13c/0x290 Hold hci_dev_lock() across connection selection and transmission in both SCO and ISO scheduling, serializing them with connection teardown. This also prevents queuing completion timestamps after the connection queues have been purged. Extending RCU across transmission would be unsafe because the transmit path can sleep. Keep the ISO timeout check outside the mutex since hci_link_tx_to() takes it itself. The preceding channel fix already holds this mutex in the ACL and LE schedulers, which call the SCO scheduler between packets. Move the SCO body to __hci_sched_sco(), assert that its caller holds the mutex, and use it directly from these locked paths. Keep a locking hci_sched_sco() wrapper for the direct calls from hci_tx_work(). This avoids recursively acquiring the device mutex while preserving the scheduling order. Remove the obsolete claim that connection removal disables TX.

02

Engine v0.9.0

Risk summary

A local attacker with access to Bluetooth sockets can trigger a use-after-free in the HCI connection scheduling code by racing ISO/SCO packet transmission against connection teardown. Successful exploitation leads to kernel memory corruption, enabling privilege escalation to root or kernel code execution. Systems with Bluetooth enabled and accessible to unprivileged users are at risk.

Affectednet/bluetooth/hci_core.c (Bluetooth HCI core)

Vulnerability analysis

The Bluetooth HCI core uses RCU to protect connection lookups during packet scheduling, but the scheduling functions drop the RCU read lock before using the returned connection pointer. Meanwhile, a concurrent connection abort on a different workqueue can remove the connection from the hash, wait for RCU grace periods, purge queues, and free the connection object. The TX worker then accesses the freed memory when calculating transmission quotas or dequeuing packets. The fix serializes scheduling and teardown by holding the device mutex (hci_dev_lock) across the entire connection selection and transmission loop in both SCO and ISO schedulers, while keeping the ISO timeout check outside the lock to avoid deadlock. The SCO scheduler is split into a locked internal variant used by ACL/LE paths that already hold the mutex, and a locking wrapper for direct calls from the TX workqueue.

03

BranchIntroducedFixed inPatch commit
6.123.36.12.113101825c09ad6
6.183.36.18.561681f97afdf9
6.63.36.6.160f997e03e2ef5
7.23.37.2.10ecdb1c66d8e1
mainline3.37.3848a7a91c7f0
cip/6.123.36.12.114-cip34101825c09ad6

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
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)