{"id":"CVE-2026-143309","state":"PUBLISHED","title":"Bluetooth: hci_core: Initialize advertising RPA work only once","description":"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->workqueue                 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->rpa_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)","publishedAt":"2026-12-03T09:21:38.195Z","updatedAt":"2026-12-03T09:21:38.195Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"08e223aa36d5f5d5f9c36c2546ccdc116d9c99d8","versionType":"git"},{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"7aed583791682e03db1e0f1e6eb0a1c968330d0b","versionType":"git"},{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"1b8a7dcd921603b1aa206be54cec42e2a45b31e8","versionType":"git"},{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","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_core.c"]}],"references":["https://git.kernel.org/stable/c/08e223aa36d5f5d5f9c36c2546ccdc116d9c99d8","https://git.kernel.org/stable/c/7aed583791682e03db1e0f1e6eb0a1c968330d0b","https://git.kernel.org/stable/c/1b8a7dcd921603b1aa206be54cec42e2a45b31e8","https://git.kernel.org/stable/c/a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143309.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143309","state":"PUBLISHED","datePublished":"2026-12-03T09:21:38.195Z","dateUpdated":"2026-12-03T09:21:38.195Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.366Z"},"containers":{"cna":{"title":"Bluetooth: hci_core: Initialize advertising RPA work only once","descriptions":[{"lang":"en","value":"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->workqueue                 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->rpa_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)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"08e223aa36d5f5d5f9c36c2546ccdc116d9c99d8","versionType":"git"},{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"7aed583791682e03db1e0f1e6eb0a1c968330d0b","versionType":"git"},{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"1b8a7dcd921603b1aa206be54cec42e2a45b31e8","versionType":"git"},{"version":"a73c046a2869048430c332a871a5b169f192c6c3","status":"affected","lessThan":"a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.19","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_core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/08e223aa36d5f5d5f9c36c2546ccdc116d9c99d8"},{"url":"https://git.kernel.org/stable/c/7aed583791682e03db1e0f1e6eb0a1c968330d0b"},{"url":"https://git.kernel.org/stable/c/1b8a7dcd921603b1aa206be54cec42e2a45b31e8"},{"url":"https://git.kernel.org/stable/c/a7c5c18b7cc30dcd2a9ae5a0fb38378d3998417e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:38.195Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}