CVE-2024-35987riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
- 8.4HighCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 3 days later
· 3 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.4.
Affected products
- affected 3335068f87217ea59d08f462187dc856652eea15 – < b008e327fa570aca210f98c817757649bae56694
- affected 3335068f87217ea59d08f462187dc856652eea15 – < ea6628e4e2353978af7e3b4ad4fdaab6149acf3d
- affected 3335068f87217ea59d08f462187dc856652eea15 – < aea702dde7e9876fb00571a2602f25130847bf0f
- affected 6.4
- unaffected < 6.4
- unaffected 6.6.30 – ≤ 6.6.*
- unaffected 6.8.9 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References3
- https://git.kernel.org/stable/c/b008e327fa570aca210f98c817757649bae56694 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ea6628e4e2353978af7e3b4ad4fdaab6149acf3d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/aea702dde7e9876fb00571a2602f25130847bf0f (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-35705 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35987)Record last updated .