CVE-2026-143314: Bluetooth: hci_sync: Protect resolving-list lookups
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hcisync: Protect resolving-list lookups
The host resolving list is updated under hdev->lock, and each bdaddrlistwithirk entry must remain alive throughout a lookup. hciledelresolvelistsync() and hcileaddresolvelistsync() traverse that list without taking the lock.
On an LE privacy-capable controller with a programmed entry, passive scan reconciliation can reach hciledelresolvelistsync() while a privileged HCIRAW client sends LE Clear Resolving List. The raw command does not take reqlock, and its successful completion runs on the controller workqueue independently of request work:
Request work Raw HCI / event work hciledelresolvelistsync() lookup loads a list node hcisocksendmsg() queue LE Clear Resolving List hciccleclearresolvlist() take hdev->lock unlink and free the node release hdev->lock read the node's address/type
The clear can free the node after the lookup loads it and before its address/type read, causing a use-after-free. The report below shows this access with the delete helper on the faulting stack. The add helper uses the same unprotected lookup.
Take hdev->lock around each resolving-list membership lookup and retain only a boolean result. This serializes traversal with clear completion and keeps entry pointers inside the protected section. Release the lock before issuing a synchronous HCI command, whose completion also needs the lock.
KASAN report as below:
================================================================== BUG: KASAN: slab-use-after-free in hcibdaddrlistlookupwithirk+0x106/0x120 Read of size 1 at addr ffff88810b036e16 by task kworker/u17:0/495
CPU: 2 UID: 0 PID: 495 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #3 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, archcaps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: hci0 hcicmdsyncwork Call Trace: <TASK> dumpstacklvl+0x93/0xd0 printreport+0xce/0x630 ? hcibdaddrlistlookupwithirk+0x106/0x120 ? srsoaliasreturnthunk+0x5/0xfbef5 ? virtaddrvalid+0x20d/0x410 ? hcibdaddrlistlookupwithirk+0x106/0x120 kasanreport+0xe0/0x110 ? hcibdaddrlistlookupwithirk+0x106/0x120 hcibdaddrlistlookupwithirk+0x106/0x120 hciledelresolvelistsync.isra.0+0xd6/0x3f0 ? pfxhciledelresolvelistsync.isra.0+0x10/0x10 ? srsoaliasreturnthunk+0x5/0xfbef5 hciledelacceptlistsync.isra.0+0x11c/0x290 ? pfxhciledelacceptlistsync.isra.0+0x10/0x10 ? hcipassivescansync+0x551/0x1e80 ? srsoaliasreturnthunk+0x5/0xfbef5 ? lockrelease+0xc8/0x280 hcipassivescansync+0x71c/0x1e80 ? pfxhcipassivescansync+0x10/0x10 ? findheldlock+0x2b/0x80 ? hcilookupleconnect+0xe1/0x3c0 ? srsoaliasreturnthunk+0x5/0xfbef5 ? findheldlock+0x2b/0x80 ? hciupdatepassivescansync+0x437/0x950 ? srsoaliasreturnthunk+0x5/0xfbef5 ? lockrelease+0xc8/0x280 hciupdatepassivescansync+0x461/0x950 hcicmdsyncwork+0x1b3/0x450 ? srsoaliasreturnthunk+0x5/0xfbef5 processonework+0x908/0x19c0 ? pfxprocessonework+0x10/0x10 ? srsoaliasreturnthunk+0x5/0xfbef5 ? lockisheldtype+0x8f/0x100 ? srsoaliasreturnthunk+0x5/0xfbef5 workerthread+0x65c/0xe40 ? pfxworkerthread+0x10/0x10 kthread+0x34f/0x460 ? srsoaliasreturnthunk+0x5/0xfbef5 ? pfxkthread+0x10/0x10 retfromfork+0x659/0x940 ? pfxretfromfork+0x10/0x10 ? srsoaliasreturnt ---truncated---
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In the resolving-list lookup helpers, hold hdev->lock while traversing the list and reading an entry’s address/type; retain only the boolean lookup result, then release the lock before issuing a synchronous HCI command. Ensure the command completion path also takes hdev->lock.
Event History
Frequently Asked Questions
Which systems are exposed to this race condition?
Exposure requires an LE privacy-capable Bluetooth controller with a resolving-list entry programmed. The race can occur when passive scan reconciliation invokes resolving-list deletion or addition while the list is being cleared.
What access does an attacker need to trigger the issue?
An attacker needs privileged access as an HCI_RAW client able to send the LE Clear Resolving List command. They must race that command against controller work performing a resolving-list lookup.