CVE-2024-26795

published 4 Apr 2024 · updated 5 Aug 2026

riscv: Sparse-Memory/vmemmap out-of-bounds fix

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2a1728c15ec4f45ed9248ae22f626541c179bfbe, Kernel 5941a90c55d3bfba732b32208d58d997600b44ef, Kernel 8310080799b40fd9f2a8b808c657269678c149af and 2 more.

In the Linux kernel, the following vulnerability has been resolved: riscv: Sparse-Memory/vmemmap out-of-bounds fix Offset vmemmap so that the first page of vmemmap will be mapped to the first page of physical memory in order to ensure that vmemmap’s bounds will be respected during pfn_to_page()/page_to_pfn() operations. The conversion macros will produce correct SV39/48/57 addresses for every possible/valid DRAM_BASE inside the physical memory limits. v2:Address Alex's comments

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.4, >=d95f1a542c3df396137afa217ef9bd39cb8931ca <2a1728c15ec4f45ed9248ae22f626541c179bfbe, >=d95f1a542c3df396137afa217ef9bd39cb8931ca <5941a90c55d3bfba732b32208d58d997600b44ef, >=d95f1a542c3df396137afa217ef9bd39cb8931ca <8310080799b40fd9f2a8b808c657269678c149af, >=d95f1a542c3df396137afa217ef9bd39cb8931ca <a11dd49dcb9376776193e15641f84fcc1e5980c9, >=d95f1a542c3df396137afa217ef9bd39cb8931ca <a278d5c60f21aa15d540abb2f2da6e6d795c3e6e2a1728c15ec4f45ed9248ae22f626541c179bfbe, 5941a90c55d3bfba732b32208d58d997600b44ef, 8310080799b40fd9f2a8b808c657269678c149af, a11dd49dcb9376776193e15641f84fcc1e5980c9, a278d5c60f21aa15d540abb2f2da6e6d795c3e6e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26795 severity on Zeptric[![CVE-2024-26795](https://zeptric.io/badge/cve/CVE-2024-26795.svg)](https://zeptric.io/cve/CVE-2024-26795)