# CVE-2024-26795: riscv: Sparse-Memory/vmemmap out-of-bounds fix

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-04-04 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-26795, DEBIAN-CVE-2024-26795
- Record: https://cvemate.com/vulnerability/CVE-2024-26795 · JSON: https://cvemate.com/vulnerability/CVE-2024-26795/json

## Description

```text
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
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.239%, percentile 16.04%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 117)

- debian linux (Debian): \< 6.1.82-1 \| \< 6.7.9-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-112.122
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1063.69
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1063.69~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1063.69+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1066.75
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1065.74~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef>
- <https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af>
- <https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e>
- <https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe>
- <https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9>
- <https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://ubuntu.com/security/CVE-2024-26795>
- <https://www.cve.org/CVERecord?id=CVE-2024-26795>
- <https://ubuntu.com/security/notices/USN-6820-1>
- <https://ubuntu.com/security/notices/USN-6821-1>
- <https://ubuntu.com/security/notices/USN-6821-2>
- <https://ubuntu.com/security/notices/USN-6828-1>
- <https://ubuntu.com/security/notices/USN-6820-2>
- <https://ubuntu.com/security/notices/USN-6821-3>
- <https://ubuntu.com/security/notices/USN-6821-4>
- <https://ubuntu.com/security/notices/USN-6871-1>
- <https://ubuntu.com/security/notices/USN-6892-1>
- <https://ubuntu.com/security/notices/USN-6919-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-26795>

---

Data as of 2026-12-05T03:59:51.928Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
