CVE-2026-99218

coredump: hold RCU while releasing parked threads

Published Nov 2, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel bug occurs in the core dump cleanup routine when a parked thread is released. The routine clears the task pointer and calls wake_up_process() without holding a reference or protecting the operation with RCU. If the core‑dump client is pre‑empted between setting the pointer to NULL and waking the thread, the parked thread can exit and its memory freed before wake_up_process() executes. The subsequent attempt to acquire pi_lock on freed memory results in an use‑after‑free that could allow an attacker to execute arbitrary code in kernel context, compromising the system.

Affected Systems

The flaw affects the Linux kernel itself. No specific release numbers are listed, so all kernel builds that include the coredump_finish path in the current mainline code are potentially affected. Organizations running unpatched Linux distributions of any architecture should check for local kernel patches that implement the RCU guard.

Risk and Exploitability

The CVSS score of 7 classifies the vulnerability as High severity. The EPSS score is below 1% (a very low yet non‑zero probability of exploitation), and the vulnerability is not listed in CISA’s KEV catalog, indicating no known active exploitation. The flaw is a kernel use‑after‑free that could enable arbitrary code execution in kernel context if exploited. While the description does not explicitly state that the attacker needs privileged access to trigger a core dump, it is inferred that such access—or the ability to cause a core dump—is required to reach the vulnerable code. Attackers would also need to coordinate the timing window between resetting the task pointer and waking the thread, which may limit practical exploitation. Nonetheless, systems that allow untrusted code to request core dumps or that expose core‑dumping services remain at risk. Applying the patch that holds RCU across the loop is strongly recommended.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that introduces RCU protection in core_dumper_finish(), or backport the corresponding change.
  • Reboot the machine after the patch to ensure the new kernel is running.
  • If an update is not immediately available, consider disabling core‑dump generation or removing the core‑dumping service to eliminate the attack vector until the fix is deployed.

Generated by OpenCVE AI on November 4, 2026 at 16:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9165-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
First Time appeared Linux linux
Weaknesses CWE-416
Vendors & Products Linux linux
Type Values Removed Values Added
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.
Title coredump: hold RCU while releasing parked threads
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 7:12 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 3, 2026, 8:18 PM
Severity
Moderate
Public date
Nov 2, 2026, 4:06 PM