VDB

CVE-2024-26795

CVE-2024-26795 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published April 4, 2024

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxa278d5c60f21aa15d540abb2f2da6e6d795c3e6e, 5941a90c55d3bfba732b32208d58d997600b44ef, 5.4

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxd95f1a542c3df396137afa217ef9bd39cb8931ca, d95f1a542c3df396137afa217ef9bd39cb8931ca, d95f1a542c3df396137afa217ef9bd39cb8931ca
LinuxLinux5.4, 0, 5.15.151
LinuxLinux*, 6.7.9, 6.8
linuxlinux_kernel5.4, 5.4, 5.4

Timeline

  • Apr 3, 2024 CVE Published
  • Apr 5, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (26 in total, the first dated here)
  • Dec 3, 2025 PoC Published
  • Jan 15, 2026 Security Advisory (267 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (230 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26795
vulnetix vdb fixes CVE-2024-26795

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26795/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›