Local privilege escalation via stale PMD race
Published Oct 23, 2024 · Updated Aug 5, 2026
A race condition in Linux kernel memory management allows local users to gain kernel privileges through shared-memory THP mappings. move_page_tables reads a PMD before taking rmap locks, so concurrent retract_page_tables removal lets move_normal_pmd populate a bogus page-table entry, including physical page zero on x86. Exploitation requires local low-privileged access and creation of shmem or file THP mappings; successful exploitation grants kernel-level control and can also crash the host.
Summary
What happened
A race condition in Linux kernel memory management allows local users to gain kernel privileges through shared-memory THP mappings. move_page_tables reads a PMD before taking rmap locks, so concurrent retract_page_tables removal lets move_normal_pmd populate a bogus page-table entry, including physical page zero on x86. Exploitation requires local low-privileged access and creation of shmem or file THP mappings; successful exploitation grants kernel-level control and can also crash the host.
The record
- CVE
- CVE-2024-50066
- Published
- Oct 23, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-362, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 23, 2024CVE 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=1d65b771bc08cd054cf6d3766a72e113dc46d62f <1552ce9ce8af47c0fe911682e5e1855e25851ca9
- Affected versionversion=1d65b771bc08cd054cf6d3766a72e113dc46d62f <17396e32f975130b3e6251f024c8807d192e4c3e
- Affected versionversion=1d65b771bc08cd054cf6d3766a72e113dc46d62f <6fa1066fc5d00cb9f1b0e83b7ff6ef98d26ba2aa
- Affected versionversion=6.6
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
- syzbot __pte_offset_map_lock crash reproducerproof of concept · demonstrated
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