Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-26795

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d95f1a542c3df396137afa217ef9bd39cb8931ca to < 5941a90c55d3bfba732b32208d58d997600b44efaffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to < 8310080799b40fd9f2a8b808c657269678c149afaffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to < a278d5c60f21aa15d540abb2f2da6e6d795c3e6eaffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to < 2a1728c15ec4f45ed9248ae22f626541c179bfbeaffected
  • d95f1a542c3df396137afa217ef9bd39cb8931ca to < a11dd49dcb9376776193e15641f84fcc1e5980c9affected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 5.15.151 to ≤ 5.15.*unaffected
  • 6.1.81 to ≤ 6.1.*unaffected
  • 6.6.21 to ≤ 6.6.*unaffected
  • 6.7.9 to ≤ 6.7.*unaffected
  • 6.8 to ≤ *unaffected

References