Local privilege escalation via racy procfs task lookup
Published Jul 25, 2026 · Updated Jul 25, 2026
A TOCTOU race in Linux Kernel procfs allows local users to gain root privileges through file descriptor links during privileged execution. proc_pid_get_link() and proc_pid_readlink() check one task, then perform a second unlocked PID lookup, allowing a same-UID child to exec setuid between check and use. A basic unprivileged account can repeatedly race a launched setuid program, redirect access to its post-exec memfd, and read or alter privileged contents for root-level execution.
Summary
What happened
A TOCTOU race in Linux Kernel procfs allows local users to gain root privileges through file descriptor links during privileged execution. proc_pid_get_link() and proc_pid_readlink() check one task, then perform a second unlocked PID lookup, allowing a same-UID child to exec setuid between check and use. A basic unprivileged account can repeatedly race a launched setuid program, redirect access to its post-exec memfd, and read or alter privileged contents for root-level execution.
The record
- CVE
- CVE-2026-64375
- Published
- Jul 25, 2026
- Updated
- Jul 25, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-367, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 2026CVE publishedPublication date reported by the CVE source.
- Jul 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.18
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <138c692d2b2d63d26f2eb957d0e4fcc5d61f9ff2
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <497c6bae5167428596575f20af6613ff5671f383
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <6253dfee5afba536bb54fc6fe6c091c3758fafe1
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <6255da28d4bb5349fe18e84cb043ccd394eba75d
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <65bf0d2b6e914f1448d6a2fde193dcf60936a651
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <83b17872e3166c295c599279fc9562ac3840c638
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <de497d7aa2fae453a7e7c8f7d3e8682e565e3aaf
- Affected versionversion=778c1144771f0064b6f51bee865cceb0d996f2f9 <dfd1894cb64cbd8758b461ed713800fe73db4f82
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo