Kernel memory corruption via unoffset vmemmap base
Published Apr 4, 2024 · Updated Aug 5, 2026
Linux RISC-V sparse-memory vmemmap allows local users to disclose or corrupt kernel memory through ordinary memory operations. The pfn_to_page() and page_to_pfn() macros use a vmemmap base that is not offset to the first physical page, producing out-of-bounds struct page addresses for valid DRAM bases. A low-privileged local process is sufficient; exploitation exposes kernel data, corrupts memory, or crashes the system.
Summary
What happened
Linux RISC-V sparse-memory vmemmap allows local users to disclose or corrupt kernel memory through ordinary memory operations. The pfn_to_page() and page_to_pfn() macros use a vmemmap base that is not offset to the first physical page, producing out-of-bounds struct page addresses for valid DRAM bases. A low-privileged local process is sufficient; exploitation exposes kernel data, corrupts memory, or crashes the system.
The record
- CVE
- CVE-2024-26795
- Published
- Apr 4, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 4, 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=5.4
- Affected versionversion=d95f1a542c3df396137afa217ef9bd39cb8931ca <2a1728c15ec4f45ed9248ae22f626541c179bfbe
- Affected versionversion=d95f1a542c3df396137afa217ef9bd39cb8931ca <5941a90c55d3bfba732b32208d58d997600b44ef
- Affected versionversion=d95f1a542c3df396137afa217ef9bd39cb8931ca <8310080799b40fd9f2a8b808c657269678c149af
- Affected versionversion=d95f1a542c3df396137afa217ef9bd39cb8931ca <a11dd49dcb9376776193e15641f84fcc1e5980c9
- Affected versionversion=d95f1a542c3df396137afa217ef9bd39cb8931ca <a278d5c60f21aa15d540abb2f2da6e6d795c3e6e
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