AZL-118559: CVE-2026-143314 affecting package kernel 6.6.161.1-1
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.
- Compensating control
In the Linux Bluetooth resolving-list lookup code, take hdev->lock while traversing the list and reading an entry’s address/type; keep entry pointers within the protected section, retain only the boolean lookup result, and release the lock before issuing a synchronous HCI command. Apply the same protection to the helper that uses the unprotected lookup.
Event History
Frequently Asked Questions
What conditions are required for exploitation?
The system must use an LE privacy-capable Bluetooth controller with a programmed resolving-list entry. Exploitation also requires a privileged HCI_RAW client capable of sending the LE Clear Resolving List command while passive scan reconciliation performs a resolving-list lookup.
Is an unprivileged local user able to trigger the issue?
The described triggering action requires a privileged HCI_RAW client. The provided information does not indicate that an unprivileged user can send the required raw HCI command.
Which operations are affected by the race?
Both hci_le_del_resolve_list_sync() and hci_le_add_resolve_list_sync() traverse the host resolving list without taking hdev->lock. A concurrent LE Clear Resolving List command can unlink and free an entry after either helper has loaded the list node but before it reads the entry address and type.
How can administrators reduce exposure before updating?
Limit access to privileged HCI_RAW Bluetooth operations, particularly the ability to issue LE Clear Resolving List commands. Exposure depends on concurrent raw HCI command activity and passive scan reconciliation on controllers using LE privacy with programmed resolving-list entries.