coredump: hold RCU while releasing parked threads

State
Published
Severity
7.0 High
Published
Nov 2, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxa94e2d408eaedbd85aae259621d46fafc10479a2 to before bdb000141ece9ceff6df225a24ac2b9ceed780ce Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before d626e3e458838bf221be1958e074ddeb9f18cd97 Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before fd0fbe84312fda2fc187428c92c50b7d03a9d24c Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before 71146c437bae59e5280f657965dc6d006ee3989b Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before 0fce73efee40c65ce26641c5d93942462f9e8307 Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before 16e94ed90b1b02398e044d41fd1db34828daa08e Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before a0f09ff4c6b93312e565cfe75d76c3a551a3ec4c Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before b0eca0edddf4c1dbaf6d1f6a8636b4235f5bc573 Affecteda94e2d408eaedbd85aae259621d46fafc10479a2 to before 61d58591aa0188bf2463e263962256316ff8b576 Affected
Linux Linux2.6.27 Affectedbefore 2.6.27 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.191 through 6.1.* Not Affected6.6.161 through 6.6.* Not Affected6.12.115 through 6.12.* Not Affected6.18.60 through 6.18.* Not Affected7.2.14 through 7.2.* Not Affected7.3.1 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.