Kernel memory corruption via vmemmap address underflow
Published Jan 21, 2025 · Updated Aug 5, 2026
Out-of-bounds access in Linux RISC-V sparse vmemmap initialization allows local users to read or corrupt kernel memory and crash the system. init_unavailable_range() derives a struct page address from an unaligned phys_ram_base, placing entries below VMEMMAP_START when initialization begins at the enclosing section boundary. Exploitation requires local low-privileged access and a RISC-V sparse-vmemmap layout whose physical RAM base is not aligned to the memory-section boundary.
Summary
What happened
Out-of-bounds access in Linux RISC-V sparse vmemmap initialization allows local users to read or corrupt kernel memory and crash the system. init_unavailable_range() derives a struct page address from an unaligned phys_ram_base, placing entries below VMEMMAP_START when initialization begins at the enclosing section boundary. Exploitation requires local low-privileged access and a RISC-V sparse-vmemmap layout whose physical RAM base is not aligned to the memory-section boundary.
The record
- CVE
- CVE-2024-57945
- Published
- Jan 21, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 21, 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=2a1728c15ec4f45ed9248ae22f626541c179bfbe
- Affected versionversion=5.10.212 <5.10.258
- Affected versionversion=5.15.151 <5.16
- Affected versionversion=5941a90c55d3bfba732b32208d58d997600b44ef
- Affected versionversion=6.1.81 <6.1.140
- Affected versionversion=6.6.21 <6.6.72
- Affected versionversion=6.7.9 <6.8
- Affected versionversion=6.8
- Affected versionversion=8310080799b40fd9f2a8b808c657269678c149af <92f08673d3f1893191323572f60e3c62f2e57c2f
- Affected versionversion=8af1c121b0102041809bc137ec600d1865eaeedd <04350304428063da6a55a8a4597d409dc69148b2
- Affected versionversion=a11dd49dcb9376776193e15641f84fcc1e5980c9 <d2bd51954ac8377c2f1eb1813e694788998add66
- Affected versionversion=a11dd49dcb9376776193e15641f84fcc1e5980c9 <f754f27e98f88428aaf6be6e00f5cbce97f62d4b
- Affected versionversion=a278d5c60f21aa15d540abb2f2da6e6d795c3e6e <a4a7ac3d266008018f05fae53060fcb331151a14
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.
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