Local privilege escalation via stale CPU timer
Published Jun 18, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel allows local users to gain kernel privileges when a non-leader thread calls execve. After the thread exchanges PIDs, posix_cpu_timer_del looks up the old PID and leaves an armed timer linked while exit_itimers frees its memory. An unprivileged local process can reach this path through ordinary thread, POSIX CPU-timer, and execve system calls, leading to kernel memory disclosure, corruption, or a system crash.
Summary
What happened
Use-after-free in the Linux kernel allows local users to gain kernel privileges when a non-leader thread calls execve. After the thread exchanges PIDs, posix_cpu_timer_del looks up the old PID and leaves an armed timer linked while exit_itimers frees its memory. An unprivileged local process can reach this path through ordinary thread, POSIX CPU-timer, and execve system calls, leading to kernel memory disclosure, corruption, or a system crash.
The record
- CVE
- CVE-2022-50095
- Published
- Jun 18, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=55e8c8eb2c7b6bf30e99423ccfe7ca032f498f59 <541840859ace9c2ccebc32fa9e376c7bd3def490
- Affected versionversion=55e8c8eb2c7b6bf30e99423ccfe7ca032f498f59 <9e255ed238fc67058df87b0388ad6d4b2ef3a2bd
- Affected versionversion=55e8c8eb2c7b6bf30e99423ccfe7ca032f498f59 <b2fc1723eb65abb83e00d5f011de670296af0b28
- Affected versionversion=55e8c8eb2c7b6bf30e99423ccfe7ca032f498f59 <e362359ace6f87c201531872486ff295df306d13
- Affected versionversion=55e8c8eb2c7b6bf30e99423ccfe7ca032f498f59 <e8cb6e8fd9890780f1bfcf5592889e1b879e779c
- Affected versionversion=5.7
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.
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