CVE-2024-26795
published high CVSS 3.1 · 7.8riscv: Sparse-Memory/vmemmap out-of-bounds fix
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd95f1a542c3df396137afa217ef9bd39cb8931ca to < 5941a90c55d3bfba732b32208d58d997600b44ef · d95f1a542c3df396137afa217ef9bd39cb8931ca to < 8310080799b40fd9f2a8b808c657269678c149af · d95f1a542c3df396137afa217ef9bd39cb8931ca to < a278d5c60f21aa15d540abb2f2da6e6d795c3e6e · d95f1a542c3df396137afa217ef9bd39cb8931ca to < 2a1728c15ec4f45ed9248ae22f626541c179bfbe · d95f1a542c3df396137afa217ef9bd39cb8931ca to < a11dd49dcb9376776193e15641f84fcc1e5980c9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.15.151 through 5.15.* (unaffected · semver) · 6.1.81 through 6.1.* (unaffected · semver) · 6.6.21 through 6.6.* (unaffected · semver) · 6.7.9 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | linux-5.10 | Advisory build | 5.10.216-1~deb10u1 | DLA-3842-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1063 | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1063 | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1063 | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1057-ibm | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-110-lowlatency-64k | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-113-generic-64k | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-113-generic-lpae | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1062 | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1062 | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-gkeop-5.15 | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-gkeop-5.15-cloud-tools-5.15.0-1046 | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-gkeop-5.15-headers-5.15.0-1046 | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-gkeop-5.15-tools-5.15.0-1046 | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-headers-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-headers-5.15.0-1057-ibm | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-headers-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-headers-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-headers-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-headers-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-headers-5.15.0-110-lowlatency-64k | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-headers-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-headers-5.15.0-113-generic-64k | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-headers-5.15.0-113-generic-lpae | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-113 | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-113 | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-source-5.15.0 | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-113 | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-common | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-host | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1057 | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1057 | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-image-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-image-5.15.0-113-generic-lpae | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1057-ibm | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-110-lowlatency-64k | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-113-generic-64k | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1058 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1058 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1058 | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-110 | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-110 | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-110 | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-common | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-host | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-modules-5.15.0-1057-ibm | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-modules-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-modules-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-modules-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-5.15.0-110-lowlatency-64k | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-modules-5.15.0-113-generic-64k | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-modules-5.15.0-113-generic-lpae | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1057-ibm | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-113-generic | Advisory build | 5.15.0-113.123~20.04.1 | USN-6871-1 |
| Ubuntu | focal | linux-tools-5.15.0-1046-gkeop | Advisory build | 5.15.0-1046.53~20.04.1 | USN-6821-2 |
| Ubuntu | focal | linux-tools-5.15.0-1057-ibm | Advisory build | 5.15.0-1057.60~20.04.1 | USN-6892-1 |
| Ubuntu | focal | linux-tools-5.15.0-1058-intel-iotg | Advisory build | 5.15.0-1058.64~20.04.1 | USN-6828-1 |
| Ubuntu | focal | linux-tools-5.15.0-1062-gcp | Advisory build | 5.15.0-1062.70~20.04.1 | USN-6820-1 |
| Ubuntu | focal | linux-tools-5.15.0-1063-aws | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6821-3 |
| Ubuntu | focal | linux-tools-5.15.0-110-lowlatency | Advisory build | 5.15.0-110.120~20.04.1 | USN-6820-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The defective `vmemmap` conversion is core arch/MM code exercised through ordinary local syscalls (page faults, mmap, read/write, fork, GUP/DMA setup); it is not reachable as a distinct remote protocol surface. Exploitation therefore requires local execution on the affected RISC-V system. AC:L - On an affected RISC-V deployment the out-of-bounds `pfn_to_page()`/`page_to_pfn()` result is deterministic — no race, no memory-layout guessing, no timing window — and any unprivileged memory operation reaches it reliably. Per CVSS 3.1 the vulnerable configuration is assumed, and nothing extra beyond the attacker's control must hold. PR:L - No capability, namespace, or admin check guards `pfn_to_page()`/`page_to_pfn()`; a plain unprivileged user process touching pages, mapping memory, or issuing I/O drives the miscomputed conversion. Only a basic local account is needed. UI:N - No victim action, mount, or file open is required — the corrupted address computation is hit by the attacker's own ordinary memory operations. S:U - The out-of-bounds accesses stay within kernel virtual memory (vmemmap spilling into the adjacent vmalloc region); no VM, IOMMU, or sandbox boundary is crossed. C:H - `struct page` accesses land outside the vmemmap region in the vmalloc area holding VMAP_STACK kernel stacks and module data, and `page_to_pfn()` returns wrong PFNs so the wrong physical pages are mapped to userspace or DMA'd — yielding disclosure of arbitrary kernel and other-process memory. I:H - The same aliasing gives an out-of-bounds *write*: refcount/flag/mapping updates to `struct page` overwrite vmalloc-region kernel data, and wrong PFNs cause the wrong physical pages to be written, a memory-corruption primitive usable for control-flow hijacking. A:H - Overlapping the struct page array with vmalloc allocations and kernel stacks reliably produces oopses, BUG_ONs, and full kernel panics on the affected platform.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d95f1a542c3df396137afa217ef9bd39cb8931ca to < 5941a90c55d3bfba732b32208d58d997600b44ef (affected · git)d95f1a542c3df396137afa217ef9bd39cb8931ca to < 8310080799b40fd9f2a8b808c657269678c149af (affected · git)d95f1a542c3df396137afa217ef9bd39cb8931ca to < a278d5c60f21aa15d540abb2f2da6e6d795c3e6e (affected · git)d95f1a542c3df396137afa217ef9bd39cb8931ca to < 2a1728c15ec4f45ed9248ae22f626541c179bfbe (affected · git)d95f1a542c3df396137afa217ef9bd39cb8931ca to < a11dd49dcb9376776193e15641f84fcc1e5980c9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4 (affected)0 to < 5.4 (unaffected · semver)5.15.151 through 5.15.* (unaffected · semver)6.1.81 through 6.1.* (unaffected · semver)6.6.21 through 6.6.* (unaffected · semver)6.7.9 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/2a1728c15ec4f45ed9248ae22f626541c179bfbe
- https://git.kernel.org/stable/c/5941a90c55d3bfba732b32208d58d997600b44ef
- https://git.kernel.org/stable/c/8310080799b40fd9f2a8b808c657269678c149af
- https://git.kernel.org/stable/c/8af1c121b0102041809bc137ec600d1865eaeedd
- https://git.kernel.org/stable/c/a11dd49dcb9376776193e15641f84fcc1e5980c9
- https://git.kernel.org/stable/c/a278d5c60f21aa15d540abb2f2da6e6d795c3e6e
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Provider assertions
3Linux · cna
riscv: Sparse-Memory/vmemmap out-of-bounds fix
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d34571603aa1d5826d72c5cd29384ac37a3238caa0c6206f1fd3a984e9620ac0
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record