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

procfs: fix missing RCU protection when reading real_parent in do_task_stat()

When reading /proc/[pid]/stat, do_task_stat() accesses task->real_parent
without proper RCU protection, which leads to:

cpu 0 cpu 1
----- -----
do_task_stat
var = task->real_parent
release_task
call_rcu(delayed_put_task_struct)
task_tgid_nr_ns(var)
rcu_read_lock <--- Too late to protect task->real_parent!
task_pid_ptr <--- UAF!
rcu_read_unlock

This patch uses task_ppid_nr_ns() instead of task_tgid_nr_ns() to add
proper RCU protection for accessing task->real_parent.
Published: 2026-06-03
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, a missing RCU protection guard around the real_parent field in do_task_stat() allows a use‑after‑free condition when /proc/[pid]/stat is read. The bug can cause the kernel to dereference freed task structures, potentially crashing the system or enabling an attacker to execute arbitrary code. The severity of the flaw is high, as it involves kernel memory corruption and could allow privilege escalation or denial of service when a local or privileged user triggers the race.

Affected Systems

All Linux kernel releases that have not yet incorporated the patch commits linked above are affected. The vulnerability originates from the core Linux kernel, so any vendor distribution based on those kernel versions is impacted until the fix is applied.

Risk and Exploitability

The CVSS score is 7.8, and the EPSS score is < 1%. The vulnerability is not listed in CISA KEV. Based on the description, the likely attack vector is a local or low‑privileged process that reads /proc/[pid]/stat, making the risk significant on systems where untrusted user input can target that file. Exploitation would require a race condition that is unlikely without intentional effort, but the potential impact justifies prompt action.

Generated by OpenCVE AI on June 9, 2026 at 22:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that includes the fix for the missing RCU protection in do_task_stat().
  • If a distribution update is not immediately available, backport the specific commit(s) from the kernel repository to your current kernel and rebuild.
  • Use SELinux, AppArmor, or other mandatory access control policies to limit read access to /proc/[pid]/stat to trusted users and services.

Generated by OpenCVE AI on June 9, 2026 at 22:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Fri, 05 Jun 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Thu, 04 Jun 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Thu, 04 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-820
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Wed, 03 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Wed, 03 Jun 2026 17:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: procfs: fix missing RCU protection when reading real_parent in do_task_stat() When reading /proc/[pid]/stat, do_task_stat() accesses task->real_parent without proper RCU protection, which leads to: cpu 0 cpu 1 ----- ----- do_task_stat var = task->real_parent release_task call_rcu(delayed_put_task_struct) task_tgid_nr_ns(var) rcu_read_lock <--- Too late to protect task->real_parent! task_pid_ptr <--- UAF! rcu_read_unlock This patch uses task_ppid_nr_ns() instead of task_tgid_nr_ns() to add proper RCU protection for accessing task->real_parent.
Title procfs: fix missing RCU protection when reading real_parent in do_task_stat()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-05T06:06:27.857Z

Reserved: 2026-05-13T15:03:33.108Z

Link: CVE-2026-46259

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-03T18:16:26.987

Modified: 2026-06-09T20:09:45.007

Link: CVE-2026-46259

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-03T00:00:00Z

Links: CVE-2026-46259 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T22:30:14Z

Weaknesses