Local privilege escalation via DAX PMD misclassification
Published Jun 9, 2020 · Updated Aug 4, 2024
Type confusion in Linux Kernel after 4.5-rc1 allows local users with access to DAX storage to escalate privileges through mremap. move_page_tables in mm/mremap.c checks DAX huge PMDs only as transparent huge pages, then treats a 2 MB data page as a page table and copies its data as PTEs. A local account and DAX-enabled persistent storage are required; successful exploitation corrupts page tables and grants elevated privileges.
Summary
What happened
Type confusion in Linux Kernel after 4.5-rc1 allows local users with access to DAX storage to escalate privileges through mremap. move_page_tables in mm/mremap.c checks DAX huge PMDs only as transparent huge pages, then treats a 2 MB data page as a page table and copies its data as PTEs. A local account and DAX-enabled persistent storage are required; successful exploitation corrupts page tables and grants elevated privileges.
The record
- CVE
- CVE-2020-10757
- Published
- Jun 9, 2020
- Updated
- Aug 4, 2024
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-843, CWE-119, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 9, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record 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=All versions after 4.5-rc1.
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
- DAX mremap corrupted-page-table 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