Kernel compromise via incomplete mm_struct race
Published Feb 27, 2025 · Updated Aug 5, 2026
Memory corruption in the Linux kernel allows local users to compromise the kernel via a race after dup_mmap() fails during process creation. The failure path drops all locks while its incomplete mm_struct remains reachable through reverse mappings, letting memory-management iterators follow invalid or stale VMA pointers. An unprivileged local process can induce the failed fork through memory pressure or interruption; the resulting use-after-free can expose or corrupt memory and crash or hang the system.
Summary
What happened
Memory corruption in the Linux kernel allows local users to compromise the kernel via a race after dup_mmap() fails during process creation. The failure path drops all locks while its incomplete mm_struct remains reachable through reverse mappings, letting memory-management iterators follow invalid or stale VMA pointers. An unprivileged local process can induce the failed fork through memory pressure or interruption; the resulting use-after-free can expose or corrupt memory and crash or hang the system.
The record
- CVE
- CVE-2025-21709
- Published
- Feb 27, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 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=6.8
- Affected versionversion=d2406291483775ecddaee929231a39c70c08fda2 <64c37e134b120fb462fb4a80694bfb8e7be77b14
- Affected versionversion=d2406291483775ecddaee929231a39c70c08fda2 <74c2471eb891a7dcb3874b21c106cda75f52be30
- Affected versionversion=d2406291483775ecddaee929231a39c70c08fda2 <da139948aeda677ac09cc0e7d837f8a314de7d55
What conditions does exploitation require?
What is affected?
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