7.0high
coredump: hold RCU while releasing parked threads
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: coredump: hold RCU while releasing parked threads coredump_finish() releases the parked threads by clearing ->task in their core_thread entry and calling wake_up_process() on each of them. It does that without holding a reference on the task and without being inside rcu. But calling wake_up_process(task) without rcu here isn't safe. A parked thread doesn't need that wakeup to leave. A spurious wakeup or a preemption after the store is enough for the task to go away. So if the coredump client is preempted between the store and wake_up_process() the thread can exit and be freed in the meantime and try_to_wake_up() takes pi_lock in freed memory. Hold rcu across the loop.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a94e2d408eaedbd85aae259621d46fafc10479a2 before bdb000141ece9ceff6df225a24ac2b9ceed780ce, from a94e2d408eaedbd85aae259621d46fafc10479a2 before d626e3e458838bf221be1958e074ddeb9f18cd97, from a94e2d408eaedbd85aae259621d46fafc10479a2 before fd0fbe84312fda2fc187428c92c50b7d03a9d24c, from a94e2d408eaedbd85aae259621d46fafc10479a2 before 71146c437bae59e5280f657965dc6d006ee3989b, from a94e2d408eaedbd85aae259621d46fafc10479a2 before 0fce73efee40c65ce26641c5d93942462f9e8307, from a94e2d408eaedbd85aae259621d46fafc10479a2 before 16e94ed90b1b02398e044d41fd1db34828daa08e, from a94e2d408eaedbd85aae259621d46fafc10479a2 before a0f09ff4c6b93312e565cfe75d76c3a551a3ec4c, from a94e2d408eaedbd85aae259621d46fafc10479a2 before b0eca0edddf4c1dbaf6d1f6a8636b4235f5bc573 and 2 more Not affected: before 2.6.27, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.191 up to 6.1.*, from 6.6.161 up to 6.6.*, from 6.12.115 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99218 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-99218 changed 2026-11-23 | Public domain |