Memory disclosure and crash via perf exit race
Published Jul 25, 2025 · Updated Aug 5, 2026
Race condition in affected Linux kernels allows local users to crash the kernel through perf sampling during process exit. The perf exit path stops sampling only after exit_mm begins tearing down the task address space, so stack and call-chain sampling can read freed or repurposed pages. An unprivileged user can race perf_event_open sampling against exit_group to disclose memory, corrupt device state through MMIO reads, or panic the system.
Summary
What happened
Race condition in affected Linux kernels allows local users to crash the kernel through perf sampling during process exit. The perf exit path stops sampling only after exit_mm begins tearing down the task address space, so stack and call-chain sampling can read freed or repurposed pages. An unprivileged user can race perf_event_open sampling against exit_group to disclose memory, corrupt device state through MMIO reads, or panic the system.
The record
- CVE
- CVE-2025-38424
- Published
- Jul 25, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 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=3.7
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <2ee6044a693735396bb47eeaba1ac3ae26c1c99b
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <456019adaa2f5366b89c868dea9b483179bece54
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <4f6fc782128355931527cefe3eb45338abd8ab39
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <507c9a595bad3abd107c6a8857d7fd125d89f386
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <7311970d07c4606362081250da95f2c7901fc0db
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <7b8f3c72175c6a63a95cf2e219f8b78e2baad34e
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <975ffddfa2e19823c719459d2364fcaa17673964
- Affected versionversion=c5ebcedb566ef17bda7b02686e0d658a7bb42ee7 <a9f6aab7910a0ef2895797f15c947f6d1053160f
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