coredump: hold RCU while releasing parked threads (Linux Linux)

CVE-2026-99218
HIGH 7.0

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < bdb000141ece9ceff6df225a24ac2b9ceed780ce
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < d626e3e458838bf221be1958e074ddeb9f18cd97
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < fd0fbe84312fda2fc187428c92c50b7d03a9d24c
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < 71146c437bae59e5280f657965dc6d006ee3989b
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < 0fce73efee40c65ce26641c5d93942462f9e8307
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < 16e94ed90b1b02398e044d41fd1db34828daa08e
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < a0f09ff4c6b93312e565cfe75d76c3a551a3ec4c
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < b0eca0edddf4c1dbaf6d1f6a8636b4235f5bc573
affected : ≥ a94e2d408eaedbd85aae259621d46fafc10479a2 < 61d58591aa0188bf2463e263962256316ff8b576
Other versions : unaffected
Linux · Linux
affected : 2.6.27
unaffected : ≥ 0 < 2.6.27
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.161 ≤ 6.6.*
unaffected : ≥ 6.12.115 ≤ 6.12.*
unaffected : ≥ 6.18.60 ≤ 6.18.*
unaffected : ≥ 7.2.14 ≤ 7.2.*
unaffected : ≥ 7.3.1 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD