{"id":"AZL-114959","summary":"CVE-2026-99488 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nklist: avoid accesses after waking klist_remove()\n\nklist_remove() waits until a node is unreferenced so that its caller can\nfree the containing object.  klist_release() currently publishes\nwaiter-\u003ewoken and wakes the waiter before its final accesses to the waiter\nand node.  klist_remove() can then return, allowing its stack waiter and\nthe containing object to be freed or reused while klist_release() is still\nrunning.  In particular, bus_remove_driver() can free drv-\u003ep while\n__device_attach() walks the same bus klist with bus_for_each_drv().\n\nOn an arm64 Cortex-A72 system, an unpatched 7.2.0-rc3 kernel with\nCONFIG_PREEMPT_RT=y and CONFIG_KASAN=y reproduced the bug through the\nin-tree I2C/at24 path.  KASAN reported a use-after-free in\nklist_dec_and_del() reached from klist_next()/bus_for_each_drv() while\nat24 was being unregistered.\n\nClear n_klist and take a task reference before publishing woken.  Use\nrelease/acquire accesses for that publication and wake the referenced\ntask.  The task reference keeps the waiter task alive if it returns and\nexits before wake_up_process().","modified":"2026-11-20T14:17:19.269315531Z","published":"2026-11-19T15:18:03Z","upstream":["CVE-2026-99488"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99488"}],"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-114959.json"}}],"schema_version":"1.9.2"}