{"id":"AZL-118544","summary":"CVE-2026-143309 affecting package kernel 6.6.161.1-1","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-04T14:18:54.663204168Z","published":"2026-12-03T10:18:17Z","upstream":["CVE-2026-143309"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143309"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118544.json"}}],"schema_version":"1.9.2"}