HIGH Introduced in 3.3
bluetooth ChanSent UAF
CVE-2026-98735
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 ACL scheduling with channel deletion hci_chan_sent() selects a channel under RCU but drops the read lock before accessing chan->conn and returning the channel. The ACL and LE schedulers then use its packet queue and update its transmit counters without any protection against channel deletion. After TX selects a channel and releases RCU, a disconnect command timeout on the separate request workqueue can run hci_conn_failed() and l2cap_conn_del(). hci_chan_del() can then unlink the channel, complete synchronize_rcu(), purge its queue and free it before TX resumes. This causes use-after-free both in hci_chan_sent() and in its callers. KASAN reported: BUG: KASAN: slab-use-after-free in hci_chan_sent+0x892/0x9b0 Workqueue: hci0 hci_tx_work Call Trace: hci_chan_sent+0x892/0x9b0 hci_tx_work+0x5e6/0xb70 Allocated by task 91: hci_chan_create+0xe3/0x350 l2cap_conn_add.part.0+0x12/0xa30 l2cap_chan_connect+0x110d/0x1b60 l2cap_sock_connect+0x310/0x530 Freed by task 99: hci_chan_del+0x11f/0x170 l2cap_conn_del+0x4f1/0x800 l2cap_connect_cfm+0x88c/0xd30 hci_conn_failed+0x150/0x250 hci_abort_conn_sync+0x3e3/0x800 hci_cmd_sync_run+0x7e/0xc0 hci_abort_conn+0x105/0x1f0 disconnect_sync+0x157/0x290 hci_cmd_sync_work+0x13c/0x290 Hold the existing device mutex across channel selection and transmission in both schedulers to serialize them with channel teardown. Keep timeout handling outside the critical sections because hci_link_tx_to() acquires the same mutex. This also permits the transmit path to sleep, unlike extending the RCU read-side critical section across packet submission.
02KernelScan AI Analysis
Risk summary
A local user with access to Bluetooth sockets can trigger a use-after-free in the kernel's Bluetooth HCI transmit path by racing a disconnect timeout against packet scheduling. Successful exploitation yields arbitrary kernel memory read and write, leading to privilege escalation or kernel panic.
Vulnerability analysis
The Bluetooth HCI transmit scheduler selects a channel under RCU protection but releases the RCU read lock before returning the channel pointer. A concurrent disconnect timeout on a separate workqueue can then unlink the channel, wait for RCU grace periods, and free the channel object while the transmit path still holds a reference. The transmit workqueue subsequently accesses the freed channel's packet queue and counters, causing a use-after-free. The fix serializes channel selection and transmission with the existing device mutex (hci_dev_lock), which is also held during channel teardown, eliminating the race window. The vulnerability is reachable by any local user who can open Bluetooth sockets and establish connections — no special privileges or hardware beyond a Bluetooth controller are required.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.10 | 3.3 | 5.10.273 | 126714c495bf |
| 5.15 | 3.3 | 5.15.224 | 7fbeda3dcd5f |
| 6.1 | 3.3 | 6.1.191 | 74667f6eb7c1 |
| 6.12 | 3.3 | 6.12.113 | 51f95ea451f2 |
| 6.18 | 3.3 | 6.18.56 | 86e9708f9d19 |
| 6.6 | 3.3 | 6.6.160 | 780affacd929 |
| 7.2 | 3.3 | 7.2.10 | 4fda8f0abeea |
| mainline | 3.3 | 7.3 | f4845ab191a4 |
| cip/6.12 | 3.3 | 6.12.114-cip34 | 51f95ea451f2 |
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) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip136) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip115) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |