# CVE-2026-46259: procfs: fix missing RCU protection when reading real_parent in do_task_stat()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-03T15:49:56.428Z
- Modified: 2026-10-19T20:18:39.850Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 06fffb1267c9d986687b69d74a46ee332a50575e before fefa0fcd78be465b7ad4c497fa6ec90d64194c04; from 06fffb1267c9d986687b69d74a46ee332a50575e before c93a33f28f915d446eea6fb3f0e1def0b3af1982; from 06fffb1267c9d986687b69d74a46ee332a50575e before 1c8dc5b5517546c68ffae40b948336122bb61306; from 06fffb1267c9d986687b69d74a46ee332a50575e before 0e64bd46a04a4fd61279aca9f53a664e9e5f7e7e; from 06fffb1267c9d986687b69d74a46ee332a50575e before 73ec7c96601d61d52310c659145bb06d933a0fa6; from 06fffb1267c9d986687b69d74a46ee332a50575e before 4f9ae386861e280b7631ca252f798d25575627ee; from 06fffb1267c9d986687b69d74a46ee332a50575e before dd8b13cb4ff1a4545a214ed897fdf2bc341155b6; from 06fffb1267c9d986687b69d74a46ee332a50575e before 76149d53502cf17ef3ae454ff384551236fba867; 2.6.26 (not affected: before 2.6.26; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 2.6.26 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/fefa0fcd78be465b7ad4c497fa6ec90d64194c04> (patch)
- <https://git.kernel.org/stable/c/c93a33f28f915d446eea6fb3f0e1def0b3af1982> (patch)
- <https://git.kernel.org/stable/c/1c8dc5b5517546c68ffae40b948336122bb61306> (patch)
- <https://git.kernel.org/stable/c/0e64bd46a04a4fd61279aca9f53a664e9e5f7e7e> (patch)
- <https://git.kernel.org/stable/c/73ec7c96601d61d52310c659145bb06d933a0fa6> (patch)
- <https://git.kernel.org/stable/c/4f9ae386861e280b7631ca252f798d25575627ee> (patch)
- <https://git.kernel.org/stable/c/dd8b13cb4ff1a4545a214ed897fdf2bc341155b6> (patch)
- <https://git.kernel.org/stable/c/76149d53502cf17ef3ae454ff384551236fba867> (patch)

## Sources

- CVE List: [CVE-2026-46259](https://www.cve.org/CVERecord?id=CVE-2026-46259), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-46259](https://nvd.nist.gov/vuln/detail/CVE-2026-46259), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-46259 · Whole record: https://cve.day/CVE-2026-46259.json · Rebuilt by cve.day 2026-11-25T22:59:23.659Z
