{"id":"CVE-2026-143314","summary":"Bluetooth: hci_sync: Protect resolving-list lookups","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Protect resolving-list lookups\n\nThe host resolving list is updated under hdev-\u003elock, and each\nbdaddr_list_with_irk entry must remain alive throughout a lookup.\nhci_le_del_resolve_list_sync() and hci_le_add_resolve_list_sync()\ntraverse that list without taking the lock.\n\nOn an LE privacy-capable controller with a programmed entry, passive\nscan reconciliation can reach hci_le_del_resolve_list_sync() while a\nprivileged HCI_RAW client sends LE Clear Resolving List. The raw\ncommand does not take req_lock, and its successful completion runs\non the controller workqueue independently of request work:\n\n  Request work                     Raw HCI / event work\n  hci_le_del_resolve_list_sync()\n    lookup loads a list node\n                                   hci_sock_sendmsg()\n                                     queue LE Clear Resolving List\n                                   hci_cc_le_clear_resolv_list()\n                                     take hdev-\u003elock\n                                     unlink and free the node\n                                     release hdev-\u003elock\n    read the node's address/type\n\nThe clear can free the node after the lookup loads it and before its\naddress/type read, causing a use-after-free. The report below shows\nthis access with the delete helper on the faulting stack. The add\nhelper uses the same unprotected lookup.\n\nTake hdev-\u003elock around each resolving-list membership lookup and\nretain only a boolean result. This serializes traversal with clear\ncompletion and keeps entry pointers inside the protected section.\nRelease the lock before issuing a synchronous HCI command, whose\ncompletion also needs the lock.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in\n    hci_bdaddr_list_lookup_with_irk+0x106/0x120\n    Read of size 1 at addr ffff88810b036e16 by task kworker/u17:0/495\n\n    CPU: 2 UID: 0 PID: 495 Comm: kworker/u17:0 Not tainted\n    7.2.0-rc6-pmb-bt-functional-v1+ #3 PREEMPT(lazy)\n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix,\n    1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: hci0 hci_cmd_sync_work\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? hci_bdaddr_list_lookup_with_irk+0x106/0x120\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? hci_bdaddr_list_lookup_with_irk+0x106/0x120\n     kasan_report+0xe0/0x110\n     ? hci_bdaddr_list_lookup_with_irk+0x106/0x120\n     hci_bdaddr_list_lookup_with_irk+0x106/0x120\n     hci_le_del_resolve_list_sync.isra.0+0xd6/0x3f0\n     ? __pfx_hci_le_del_resolve_list_sync.isra.0+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     hci_le_del_accept_list_sync.isra.0+0x11c/0x290\n     ? __pfx_hci_le_del_accept_list_sync.isra.0+0x10/0x10\n     ? hci_passive_scan_sync+0x551/0x1e80\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x280\n     hci_passive_scan_sync+0x71c/0x1e80\n     ? __pfx_hci_passive_scan_sync+0x10/0x10\n     ? find_held_lock+0x2b/0x80\n     ? hci_lookup_le_connect+0xe1/0x3c0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? find_held_lock+0x2b/0x80\n     ? hci_update_passive_scan_sync+0x437/0x950\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x280\n     hci_update_passive_scan_sync+0x461/0x950\n     hci_cmd_sync_work+0x1b3/0x450\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     process_one_work+0x908/0x19c0\n     ? __pfx_process_one_work+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x34f/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork+0x659/0x940\n     ? __pfx_ret_from_fork+0x10/0x10\n     ? srso_alias_return_t\n---truncated---","modified":"2026-12-03T11:02:02.067097908Z","published":"2026-12-03T09:21:41.492Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143314.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/553700d685448f63f2d50622b68f1dff81e0bdf8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82faac4f3a4a21c1d452a72a1d9f7895982b20ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f05bd61a3213613de7848c8df2865492d5225023"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143314.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143314"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e8907f76544ffe225ab95d70f7313267b1d0c76d"},{"fixed":"82faac4f3a4a21c1d452a72a1d9f7895982b20ba"},{"fixed":"f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5"},{"fixed":"553700d685448f63f2d50622b68f1dff81e0bdf8"},{"fixed":"f05bd61a3213613de7848c8df2865492d5225023"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143314.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143314.json"}}],"schema_version":"1.9.2"}