# CVE-2026-99488: klist: avoid accesses after waking klist_remove()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:43:27.553Z
- Modified: 2026-11-23T08:17:51.743Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

klist: avoid accesses after waking klist_remove()

klist_remove() waits until a node is unreferenced so that its caller can
free the containing object.  klist_release() currently publishes
waiter->woken and wakes the waiter before its final accesses to the waiter
and node.  klist_remove() can then return, allowing its stack waiter and
the containing object to be freed or reused while klist_release() is still
running.  In particular, bus_remove_driver() can free drv->p while
__device_attach() walks the same bus klist with bus_for_each_drv().

On an arm64 Cortex-A72 system, an unpatched 7.2.0-rc3 kernel with
CONFIG_PREEMPT_RT=y and CONFIG_KASAN=y reproduced the bug through the
in-tree I2C/at24 path.  KASAN reported a use-after-free in
klist_dec_and_del() reached from klist_next()/bus_for_each_drv() while
at24 was being unregistered.

Clear n_klist and take a task reference before publishing woken.  Use
release/acquire accesses for that publication and wake the referenced
task.  The task reference keeps the waiter task alive if it returns and
exits before wake_up_process().

(As written by CVE List.)

## Affected

- Linux Linux: from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 224f1c87086b9bc15bfc2dc0fd6f23df265eb976; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 2c3bbc8a1acd7b52a7785b51994a39aa336e2c08; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 428846fffb806a2c1e7f5f9bb976964f011c8803; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 1da13ac31040f1fb7365e994f84a6b2e32043363; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 3fee2a5ef405f08ea3d87d2014ae7d38e61dd06f; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before d655ef174056457d1c3bc06b4405097e0a9b3bf5; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 7d3df012573523cb2f38a65e3e00125d9869b390; from 8b0c250be489dcbf1a3a33bb4ec4c7f33735a365 before 732e3e10234cbe302d0dcbaa98c91c66628209cb; 2.6.13 (not affected: before 2.6.13; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/224f1c87086b9bc15bfc2dc0fd6f23df265eb976>
- <https://git.kernel.org/stable/c/2c3bbc8a1acd7b52a7785b51994a39aa336e2c08>
- <https://git.kernel.org/stable/c/428846fffb806a2c1e7f5f9bb976964f011c8803>
- <https://git.kernel.org/stable/c/1da13ac31040f1fb7365e994f84a6b2e32043363>
- <https://git.kernel.org/stable/c/3fee2a5ef405f08ea3d87d2014ae7d38e61dd06f>
- <https://git.kernel.org/stable/c/d655ef174056457d1c3bc06b4405097e0a9b3bf5>
- <https://git.kernel.org/stable/c/7d3df012573523cb2f38a65e3e00125d9869b390>
- <https://git.kernel.org/stable/c/732e3e10234cbe302d0dcbaa98c91c66628209cb>

## Sources

- CVE List: [CVE-2026-99488](https://www.cve.org/CVERecord?id=CVE-2026-99488), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99488](https://nvd.nist.gov/vuln/detail/CVE-2026-99488), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99488 · Whole record: https://cve.day/CVE-2026-99488.json · Rebuilt by cve.day 2026-11-25T22:59:52.090Z
