Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35987

published high CVSS 3.1 · 8.4

riscv: Fix loading 64-bit NOMMU kernels past the start of RAM

Published
20 May 2024, 09:47:53 UTC
Updated
05 Aug 2026, 11:31:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3335068f87217ea59d08f462187dc856652eea15 to < b008e327fa570aca210f98c817757649bae56694 · 3335068f87217ea59d08f462187dc856652eea15 to < ea6628e4e2353978af7e3b4ad4fdaab6149acf3d · 3335068f87217ea59d08f462187dc856652eea15 to < aea702dde7e9876fb00571a2602f25130847bf0f · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.30 through 6.6.* (unaffected · semver) · 6.8.9 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu jammy linux-buildinfo-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-buildinfo-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-headers-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-headers-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-image-unsigned-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-image-unsigned-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-extra-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8 Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8-headers-6.8.0-1011 Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8-tools-6.8.0-1011 Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8-tools-host Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-tools-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-tools-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu noble linux Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-aws-cloud-tools-6.8.0-1013 Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-aws-headers-6.8.0-1013 Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-aws-tools-6.8.0-1013 Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-azure-cloud-tools-6.8.0-1012 Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-azure-headers-6.8.0-1012 Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-azure-tools-6.8.0-1012 Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-buildinfo-6.8.0-1008-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1009-raspi Advisory build 6.8.0-1009.10 USN-6949-2
Ubuntu noble linux-buildinfo-6.8.0-1010-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1010-oem Advisory build 6.8.0-1010.10 USN-6955-1
Ubuntu noble linux-buildinfo-6.8.0-1010-oracle Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1010-oracle-64k Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia-lowlatency Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia-lowlatency-64k Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-buildinfo-6.8.0-1012-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-40-generic-64k Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-buildinfo-6.8.0-40-lowlatency-64k Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-cloud-tools-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-cloud-tools-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-cloud-tools-6.8.0-40 Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-cloud-tools-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-cloud-tools-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-cloud-tools-common Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-gcp-headers-6.8.0-1012 Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-gcp-tools-6.8.0-1012 Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-gke-headers-6.8.0-1008 Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-gke-tools-6.8.0-1008 Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1008-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1009-raspi Advisory build 6.8.0-1009.10 USN-6949-2
Ubuntu noble linux-headers-6.8.0-1010-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1010-oem Advisory build 6.8.0-1010.10 USN-6955-1
Ubuntu noble linux-headers-6.8.0-1010-oracle Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1010-oracle-64k Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia-lowlatency Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia-lowlatency-64k Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-headers-6.8.0-1012-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40 Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40-generic-64k Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-headers-6.8.0-40-lowlatency-64k Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-cloud-tools-common Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-headers-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-source-6.8.0 Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-tools-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-image-6.8.0-1009-raspi Advisory build 6.8.0-1009.10 USN-6949-2
Ubuntu noble linux-image-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-oem Advisory build 6.8.0-1010.10 USN-6955-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-oracle Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-oracle-64k Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia-lowlatency Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia-lowlatency-64k Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-image-unsigned-6.8.0-1012-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-40-generic-64k Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-image-unsigned-6.8.0-40-lowlatency-64k Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-lib-rust-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-lowlatency-cloud-tools-6.8.0-40 Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-lowlatency-cloud-tools-common Advisory build 6.8.0-40.40.1 USN-6949-2

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: Fix loading 64-bit NOMMU kernels past the start of RAM commit 3335068f8721 ("riscv: Use PUD/P4D/PGD pages for the linear mapping") added logic to allow using RAM below the kernel load address. However, this does not work for NOMMU, where PAGE_OFFSET is fixed to the kernel load address. Since that range of memory corresponds to PFNs below ARCH_PFN_OFFSET, mm initialization runs off the beginning of mem_map and corrupts adjacent kernel memory. Fix this by restoring the previous behavior for NOMMU kernels.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.4 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The corruption occurs in `setup_bootmem()`/`free_area_init()` on the local machine's own boot path, with no network, adjacent-network, or remote-peer data anywhere in the path; anyone able to power-cycle or reset an affected RISC-V NOMMU board triggers it, and no device insertion or physical bus access is involved, so it scores L rather than P. AC:L - On an affected deployment (64-bit RISC-V NOMMU with RAM below the kernel load address) the failure is fully deterministic on every single boot — `min_low_pfn < ARCH_PFN_OFFSET` forces the negative `__pfn_to_page()` index unconditionally, with no race, timing window, or memory-layout grooming required. PR:N - The corrupting code runs during early memory-management initialization, long before userspace, login, or any credential check exists, so no account, capability, or namespace gates it. UI:N - Both `setup_bootmem()` and mm initialization execute autonomously as part of kernel startup; no administrator or user has to mount anything, open a device node, or take any action. S:U - The out-of-bounds writes and the skewed `__va`/`__pa` translation both corrupt the kernel's own memory and allocator state, remaining entirely within the kernel's security authority — no hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Corrupted `struct page` metadata and a systematically wrong `kernel_map.va_pa_offset` make `pfn_to_page()`/`page_address()`/`virt_to_phys()` resolve to the wrong physical memory, so the page allocator can hand out pages still holding kernel data; on NOMMU there is no MMU-enforced separation to prevent a user process from reading that kernel memory. I:H - `__init_single_page()` writes roughly 64 bytes of page flags, refcounts, and list pointers per PFN at a negative index before `mem_map`, giving an out-of-bounds write into adjacent kernel memory, and the wrong `va_pa_offset` additionally directs DMA and linear-map writes to incorrect physical addresses. A:H - The commit states mm initialization "corrupts adjacent kernel memory"; the resulting damage to page-allocator structures plus universally wrong physical-address translation renders the system unbootable or crashes it, and recurs on every boot while the affected memory layout is present.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3335068f87217ea59d08f462187dc856652eea15 to < b008e327fa570aca210f98c817757649bae56694 (affected · git)3335068f87217ea59d08f462187dc856652eea15 to < ea6628e4e2353978af7e3b4ad4fdaab6149acf3d (affected · git)3335068f87217ea59d08f462187dc856652eea15 to < aea702dde7e9876fb00571a2602f25130847bf0f (affected · git)Default: unaffected Linux · cna
Linux Linux 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.30 through 6.6.* (unaffected · semver)6.8.9 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

3

Linux · cna

riscv: Fix loading 64-bit NOMMU kernels past the start of RAM

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
bc94f2ab11215ab30dceb1f9d035176c7cf5350ed285607f6be2aa2e35e9eeca
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected