Security mailing lists by PureSourceCode

CVE-2026-143314

not scored yet

Bluetooth: hci_sync: Protect resolving-list lookups

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hci_sync: Protect resolving-list lookups

The host resolving list is updated under hdev->lock, and each
bdaddr_list_with_irk entry must remain alive throughout a lookup.
hci_le_del_resolve_list_sync() and hci_le_add_resolve_list_sync()
traverse that list without taking the lock.

On an LE privacy-capable controller with a programmed entry, passive
scan reconciliation can reach hci_le_del_resolve_list_sync() while a
privileged HCI_RAW client sends LE Clear Resolving List. The raw
command does not take req_lock, and its successful completion runs
on the controller workqueue independently of request work:

Request work Raw HCI / event work
hci_le_del_resolve_list_sync()
lookup loads a list node
hci_sock_sendmsg()
queue LE Clear Resolving List
hci_cc_le_clear_resolv_list()
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
hci_bdaddr_list_lookup_with_irk+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, arch_caps fix,
1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: hci0 hci_cmd_sync_work
Call Trace:
 <TASK>
 dump_stack_lvl+0x93/0xd0
 print_report+0xce/0x630
 ? hci_bdaddr_list_lookup_with_irk+0x106/0x120
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __virt_addr_valid+0x20d/0x410
 ? hci_bdaddr_list_lookup_with_irk+0x106/0x120
 kasan_report+0xe0/0x110
 ? hci_bdaddr_list_lookup_with_irk+0x106/0x120
 hci_bdaddr_list_lookup_with_irk+0x106/0x120
 hci_le_del_resolve_list_sync.isra.0+0xd6/0x3f0
 ? __pfx_hci_le_del_resolve_list_sync.isra.0+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 hci_le_del_accept_list_sync.isra.0+0x11c/0x290
 ? __pfx_hci_le_del_accept_list_sync.isra.0+0x10/0x10
 ? hci_passive_scan_sync+0x551/0x1e80
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? lock_release+0xc8/0x280
 hci_passive_scan_sync+0x71c/0x1e80
 ? __pfx_hci_passive_scan_sync+0x10/0x10
 ? find_held_lock+0x2b/0x80
 ? hci_lookup_le_connect+0xe1/0x3c0
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? find_held_lock+0x2b/0x80
 ? hci_update_passive_scan_sync+0x437/0x950
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? lock_release+0xc8/0x280
 hci_update_passive_scan_sync+0x461/0x950
 hci_cmd_sync_work+0x1b3/0x450
 ? srso_alias_return_thunk+0x5/0xfbef5
 process_one_work+0x908/0x19c0
 ? __pfx_process_one_work+0x10/0x10
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? lock_is_held_type+0x8f/0x100
 ? srso_alias_return_thunk+0x5/0xfbef5
 worker_thread+0x65c/0xe40
 ? __pfx_worker_thread+0x10/0x10
 kthread+0x34f/0x460
 ? srso_alias_return_thunk+0x5/0xfbef5
 ? __pfx_kthread+0x10/0x10
 ret_from_fork+0x659/0x940
 ? __pfx_ret_from_fork+0x10/0x10
 ? srso_alias_return_t

---truncated---

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 82faac4f3a4a21c1d452a72a1d9f7895982b20ba; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < 553700d685448f63f2d50622b68f1dff81e0bdf8; >= e8907f76544ffe225ab95d70f7313267b1d0c76d, < f05bd61a3213613de7848c8df2865492d5225023 82faac4f3a4a21c1d452a72a1d9f7895982b20ba, f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5, 553700d685448f63f2d50622b68f1dff81e0bdf8, f05bd61a3213613de7848c8df2865492d5225023
CVE List Linux Linux = 5.17

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.