{"id":"CVE-2026-99488","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:18:03.620","lastModified":"2026-11-23T08:17:51.743","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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->woken 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->p 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()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["lib/klist.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"224f1c87086b9bc15bfc2dc0fd6f23df265eb976","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"2c3bbc8a1acd7b52a7785b51994a39aa336e2c08","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"428846fffb806a2c1e7f5f9bb976964f011c8803","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"1da13ac31040f1fb7365e994f84a6b2e32043363","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"3fee2a5ef405f08ea3d87d2014ae7d38e61dd06f","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"d655ef174056457d1c3bc06b4405097e0a9b3bf5","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"7d3df012573523cb2f38a65e3e00125d9869b390","versionType":"git","status":"affected"},{"version":"8b0c250be489dcbf1a3a33bb4ec4c7f33735a365","lessThan":"732e3e10234cbe302d0dcbaa98c91c66628209cb","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["lib/klist.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.13","status":"affected"},{"version":"0","lessThan":"2.6.13","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1da13ac31040f1fb7365e994f84a6b2e32043363","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/224f1c87086b9bc15bfc2dc0fd6f23df265eb976","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2c3bbc8a1acd7b52a7785b51994a39aa336e2c08","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3fee2a5ef405f08ea3d87d2014ae7d38e61dd06f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/428846fffb806a2c1e7f5f9bb976964f011c8803","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/732e3e10234cbe302d0dcbaa98c91c66628209cb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7d3df012573523cb2f38a65e3e00125d9869b390","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d655ef174056457d1c3bc06b4405097e0a9b3bf5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}