CVE-2024-26795

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

MEDIUM
5.5
CVSS Score
Published: April 4, 2024 at 08:20 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1515.16 ≤ v < 6.1.815.4 ≤ v < 5.10.2125.4 ≤ v < 5.15.1515.4 ≤ v < 6.1.815.4 ≤ v < 6.6.215.4 ≤ v < 6.7.95.4 ≤ v < 6.86.2 ≤ v < 6.6.216.7 ≤ v < 6.7.96.8 rc16.8 rc26.8 rc36.8 rc46.8 rc56.8 rc6d95f1a542c3df396137afa217ef9bd39cb8931ca
Vendor states this is fixed in 2a1728c15ec4f45ed9248ae22f626541c179bfbe (fixed)
Vendor states this is fixed in 5941a90c55d3bfba732b32208d58d997600b44ef (fixed)
Vendor states this is fixed in 8310080799b40fd9f2a8b808c657269678c149af (fixed)
Vendor states this is fixed in a11dd49dcb9376776193e15641f84fcc1e5980c9 (fixed)
Vendor states this is fixed in a278d5c60f21aa15d540abb2f2da6e6d795c3e6e (fixed)
Affected range stops below 5.10.212, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.15.151 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 6.1.81 (unaffected)
Vendor states this is fixed in 6.6.21 (unaffected)
Vendor states this is fixed in 6.7.9 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card