5.5
MEDIUM
CVE-2024-26795
RISC-V Linux Kernel Sparse Memory Vmemmap Out-of-Bounds Vulnerability
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

INFO

Published Date :

April 4, 2024, 9:15 a.m.

Last Modified :

March 19, 2025, 11:42 a.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-26795 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Debian debian_linux

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-26795 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-26795 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 19, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.151 *cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 5.10.212 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.81 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.21 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.9 *cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added Reference Type CVE: https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e Types: Patch
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe
    Added Reference https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef
    Added Reference https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af
    Added Reference https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd
    Added Reference https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9
    Added Reference https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 05, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 04, 2024

    Action Type Old Value New Value
    Added 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
    Added Reference kernel.org https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-26795 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-26795 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability