CVE-2024-26795

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

State
Published
Severity
7.8 High
Published
Apr 4, 2024
Updated
Aug 5, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to before 5941a90c55d3bfba732b32208d58d997600b44efAffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to before 8310080799b40fd9f2a8b808c657269678c149afAffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to before a278d5c60f21aa15d540abb2f2da6e6d795c3e6eAffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to before 2a1728c15ec4f45ed9248ae22f626541c179bfbeAffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to before a11dd49dcb9376776193e15641f84fcc1e5980c9Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.15.151 through 5.15.*Not affected
  • 6.1.81 through 6.1.*Not affected
  • 6.6.21 through 6.6.*Not affected
  • 6.7.9 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.