{"id":"CVE-2026-143314","state":"PUBLISHED","title":"Bluetooth: hci_sync: Protect resolving-list lookups","description":"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->lock, 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->lock\n                                     unlink and free the node\n                                     release hdev->lock\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->lock 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     <TASK>\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---","publishedAt":"2026-12-03T09:21:41.492Z","updatedAt":"2026-12-03T09:21:41.492Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"82faac4f3a4a21c1d452a72a1d9f7895982b20ba","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"553700d685448f63f2d50622b68f1dff81e0bdf8","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"f05bd61a3213613de7848c8df2865492d5225023","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]}],"references":["https://git.kernel.org/stable/c/82faac4f3a4a21c1d452a72a1d9f7895982b20ba","https://git.kernel.org/stable/c/f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5","https://git.kernel.org/stable/c/553700d685448f63f2d50622b68f1dff81e0bdf8","https://git.kernel.org/stable/c/f05bd61a3213613de7848c8df2865492d5225023"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143314.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143314","state":"PUBLISHED","datePublished":"2026-12-03T09:21:41.492Z","dateUpdated":"2026-12-03T09:21:41.492Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.366Z"},"containers":{"cna":{"title":"Bluetooth: hci_sync: Protect resolving-list lookups","descriptions":[{"lang":"en","value":"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->lock, 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->lock\n                                     unlink and free the node\n                                     release hdev->lock\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->lock 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     <TASK>\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---"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"82faac4f3a4a21c1d452a72a1d9f7895982b20ba","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"553700d685448f63f2d50622b68f1dff81e0bdf8","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"f05bd61a3213613de7848c8df2865492d5225023","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sync.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/82faac4f3a4a21c1d452a72a1d9f7895982b20ba"},{"url":"https://git.kernel.org/stable/c/f3d4347def6bf2196b2d01ae8ae1ff8d7e8381c5"},{"url":"https://git.kernel.org/stable/c/553700d685448f63f2d50622b68f1dff81e0bdf8"},{"url":"https://git.kernel.org/stable/c/f05bd61a3213613de7848c8df2865492d5225023"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:41.492Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}