{"id":"CVE-2026-143310","state":"PUBLISHED","title":"Bluetooth: hci_sync: Copy the resolving-list IRK under RCU","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Copy the resolving-list IRK under RCU\n\nhci_le_add_resolve_list_sync() copies the peer IRK into the LE Add\nDevice To Resolving List command after hci_find_irk_by_addr() has\nreturned. The finder ends its RCU read-side section before returning\nthe borrowed entry, and neither the request worker nor\ninterleave_scan_work() holds hdev->lock here. The resolving-list\nmembership check between the lookup and the copy takes hdev->lock and\nmay sleep on it, which widens the window.\n\nWhen LL privacy programs a peer with address resolution enabled,\nMGMT_OP_LOAD_IRKS can free its IRK before the copy:\n\n  Request worker                   Management / RCU reclamation\n  hci_le_add_resolve_list_sync()\n    irk = hci_find_irk_by_addr()\n                                   load_irks()\n                                     hci_dev_lock(hdev)\n                                     hci_smp_irks_clear(hdev)\n                                       list_del_rcu(), kfree_rcu()\n                                     hci_dev_unlock(hdev)\n                                   grace period ends, irk is freed\n    resolving-list membership check\n    memcpy(cp.peer_irk, irk->val, 16)\n\nCopy the IRK value in an RCU read-side section right after the lookup,\nas hci_le_set_privacy_mode_sync() does for the identity address. The\nsection ends before hdev->lock is taken and before the synchronous HCI\ncommand is sent.\n\nKASAN reported this on a test kernel with scheduling hooks, whose\nframes appear in the trace. The report predates the hdev->lock taken\nby the membership check.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in hci_le_add_resolve_list_sync+0x8d9/0x910\n    Read of size 16 at addr ffff88810d21452d by task kworker/u17:0/504\n\n    CPU: 2 UID: 0 PID: 504 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #2 PREEMPT(lazy)\n    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\n    Workqueue: hci0 interleave_scan_work\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     kasan_report+0xe0/0x110\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     hci_le_add_resolve_list_sync+0x8d9/0x910\n     ? __pfx_hci_le_add_resolve_list_sync+0x10/0x10\n     ? pmbd_probe_hit_cookie+0xe7/0x1c0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xee/0x1c0\n     ? __pfx_pmbd_probe_hit_cookie+0x10/0x10\n     hci_le_add_accept_list_sync+0x18e/0x820\n     ? conn_params_copy+0x36e/0x650\n     ? __pfx_hci_le_add_accept_list_sync+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? conn_params_copy+0x3a0/0x650\n     hci_passive_scan_sync+0x95f/0x1f10\n     ? __pfx_hci_passive_scan_sync+0x10/0x10\n     ? debug_object_deactivate+0x2f8/0x3c0\n     ? pwq_dec_nr_in_flight+0x880/0xdf0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_acquire+0x17b/0x2f0\n     ? process_one_work+0x895/0x19c0\n     interleave_scan_work+0x11b/0x470\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_thunk+0x5/0xfbef5\n     ? __switch_to+0x74f/0xf80\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork_asm+0x1a/0x30\n     </TASK>\n\n    Allocated by task 535:\n     kasan_save_stack+0x33/0x60\n     kasan_save_track+0x14/0x30\n     __kasan_kmalloc+0\n---truncated---","publishedAt":"2026-12-03T09:21:38.847Z","updatedAt":"2026-12-03T09:21:38.847Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"08ffd6579dea0c2f182a06b228dac87f49705771","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"ce34273031603fb755fb352c134ce9c0a621b3f1","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"3107440d0fd075c6a12292421cd970454ab95dd7","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"9ff737119177a6c1ce6083ef8c0fc06355f11869","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/08ffd6579dea0c2f182a06b228dac87f49705771","https://git.kernel.org/stable/c/ce34273031603fb755fb352c134ce9c0a621b3f1","https://git.kernel.org/stable/c/3107440d0fd075c6a12292421cd970454ab95dd7","https://git.kernel.org/stable/c/9ff737119177a6c1ce6083ef8c0fc06355f11869"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143310.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143310","state":"PUBLISHED","datePublished":"2026-12-03T09:21:38.847Z","dateUpdated":"2026-12-03T09:21:38.847Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.366Z"},"containers":{"cna":{"title":"Bluetooth: hci_sync: Copy the resolving-list IRK under RCU","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: Copy the resolving-list IRK under RCU\n\nhci_le_add_resolve_list_sync() copies the peer IRK into the LE Add\nDevice To Resolving List command after hci_find_irk_by_addr() has\nreturned. The finder ends its RCU read-side section before returning\nthe borrowed entry, and neither the request worker nor\ninterleave_scan_work() holds hdev->lock here. The resolving-list\nmembership check between the lookup and the copy takes hdev->lock and\nmay sleep on it, which widens the window.\n\nWhen LL privacy programs a peer with address resolution enabled,\nMGMT_OP_LOAD_IRKS can free its IRK before the copy:\n\n  Request worker                   Management / RCU reclamation\n  hci_le_add_resolve_list_sync()\n    irk = hci_find_irk_by_addr()\n                                   load_irks()\n                                     hci_dev_lock(hdev)\n                                     hci_smp_irks_clear(hdev)\n                                       list_del_rcu(), kfree_rcu()\n                                     hci_dev_unlock(hdev)\n                                   grace period ends, irk is freed\n    resolving-list membership check\n    memcpy(cp.peer_irk, irk->val, 16)\n\nCopy the IRK value in an RCU read-side section right after the lookup,\nas hci_le_set_privacy_mode_sync() does for the identity address. The\nsection ends before hdev->lock is taken and before the synchronous HCI\ncommand is sent.\n\nKASAN reported this on a test kernel with scheduling hooks, whose\nframes appear in the trace. The report predates the hdev->lock taken\nby the membership check.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in hci_le_add_resolve_list_sync+0x8d9/0x910\n    Read of size 16 at addr ffff88810d21452d by task kworker/u17:0/504\n\n    CPU: 2 UID: 0 PID: 504 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #2 PREEMPT(lazy)\n    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\n    Workqueue: hci0 interleave_scan_work\n    Call Trace:\n     <TASK>\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     kasan_report+0xe0/0x110\n     ? hci_le_add_resolve_list_sync+0x8d9/0x910\n     hci_le_add_resolve_list_sync+0x8d9/0x910\n     ? __pfx_hci_le_add_resolve_list_sync+0x10/0x10\n     ? pmbd_probe_hit_cookie+0xe7/0x1c0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? pmbd_probe_hit_cookie+0xee/0x1c0\n     ? __pfx_pmbd_probe_hit_cookie+0x10/0x10\n     hci_le_add_accept_list_sync+0x18e/0x820\n     ? conn_params_copy+0x36e/0x650\n     ? __pfx_hci_le_add_accept_list_sync+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? conn_params_copy+0x3a0/0x650\n     hci_passive_scan_sync+0x95f/0x1f10\n     ? __pfx_hci_passive_scan_sync+0x10/0x10\n     ? debug_object_deactivate+0x2f8/0x3c0\n     ? pwq_dec_nr_in_flight+0x880/0xdf0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_acquire+0x17b/0x2f0\n     ? process_one_work+0x895/0x19c0\n     interleave_scan_work+0x11b/0x470\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_thunk+0x5/0xfbef5\n     ? __switch_to+0x74f/0xf80\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork_asm+0x1a/0x30\n     </TASK>\n\n    Allocated by task 535:\n     kasan_save_stack+0x33/0x60\n     kasan_save_track+0x14/0x30\n     __kasan_kmalloc+0\n---truncated---"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"08ffd6579dea0c2f182a06b228dac87f49705771","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"ce34273031603fb755fb352c134ce9c0a621b3f1","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"3107440d0fd075c6a12292421cd970454ab95dd7","versionType":"git"},{"version":"e8907f76544ffe225ab95d70f7313267b1d0c76d","status":"affected","lessThan":"9ff737119177a6c1ce6083ef8c0fc06355f11869","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/08ffd6579dea0c2f182a06b228dac87f49705771"},{"url":"https://git.kernel.org/stable/c/ce34273031603fb755fb352c134ce9c0a621b3f1"},{"url":"https://git.kernel.org/stable/c/3107440d0fd075c6a12292421cd970454ab95dd7"},{"url":"https://git.kernel.org/stable/c/9ff737119177a6c1ce6083ef8c0fc06355f11869"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:38.847Z"},"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"}}}}}