{"id":"CVE-2026-143309","summary":"Bluetooth: hci_core: Initialize advertising RPA work only once","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_core: Initialize advertising RPA work only once\n\nhci_add_adv_instance() also updates existing instances and calls\nINIT_DELAYED_WORK() on their rpa_expired_cb every time, even when the\nwork is pending or running. cancel_delayed_work_sync() then no longer\nfinds the work, so hci_remove_adv_instance() can free the instance\nunder it:\n\n  hdev-\u003eworkqueue                 MGMT_OP_ADD_EXT_ADV_PARAMS\n  adv_instance_rpa_expired()\n                                  hci_dev_lock(hdev)\n                                  hci_add_adv_instance()\n                                    INIT_DELAYED_WORK()\n                                  mgmt_pending_new() fails\n                                  hci_remove_adv_instance()\n                                    cancel_delayed_work_sync()\n                                      returns without waiting\n                                    kfree(adv)\n                                  hci_dev_unlock(hdev)\n    adv-\u003erpa_expired = true\n\nThe work has been initialized on every update since it was added.\nInitialize it only when the instance is allocated.\n\nKASAN report as below:\n\n    BUG: KASAN: slab-use-after-free in adv_instance_rpa_expired+0x139/0x160\n    Write of size 1 at addr ffff888108d84b2e by task kworker/u17:0/504\n\n    Workqueue: hci0 adv_instance_rpa_expired\n    Call Trace:\n     adv_instance_rpa_expired+0x139/0x160\n\n    Allocated by task 560:\n     hci_add_adv_instance+0x68d/0x9d0\n     add_ext_adv_params+0x4d4/0xb60\n     hci_sock_sendmsg+0x128b/0x22e0\n\n    Freed by task 594:\n     kfree+0x307/0x580\n     hci_remove_adv_instance+0x230/0x540\n     add_ext_adv_params+0xa43/0xb60\n     hci_sock_sendmsg+0x128b/0x22e0\n\n    Last potentially related work creation:\n     insert_work+0x37/0x210\n     __queue_work+0xaba/0x1270\n     call_timer_fn+0x171/0x500\n\n    The buggy address belongs to the object at ffff888108d84800\n     which belongs to the cache kmalloc-1k of size 1024\n    The buggy address is located 814 bytes inside of\n     freed 1024-byte region [ffff888108d84800, ffff888108d84c00)","modified":"2026-12-03T11:01:59.999498278Z","published":"2026-12-03T09:21:38.195Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143309.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/08e223aa36d5f5d5f9c36c2546ccdc116d9c99d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b8a7dcd921603b1aa206be54cec42e2a45b31e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7aed583791682e03db1e0f1e6eb0a1c968330d0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143309.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143309"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a73c046a2869048430c332a871a5b169f192c6c3"},{"fixed":"08e223aa36d5f5d5f9c36c2546ccdc116d9c99d8"},{"fixed":"7aed583791682e03db1e0f1e6eb0a1c968330d0b"},{"fixed":"1b8a7dcd921603b1aa206be54cec42e2a45b31e8"},{"fixed":"a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143309.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.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-143309.json"}}],"schema_version":"1.9.2"}