{"id":"CVE-2024-35987","published":"2024-05-20T09:47:53Z","modified":"2026-08-05T11:31:25Z","title":"riscv: Fix loading 64-bit NOMMU kernels past the start of RAM","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: Fix loading 64-bit NOMMU kernels past the start of RAM\n\ncommit 3335068f8721 (\"riscv: Use PUD/P4D/PGD pages for the linear\nmapping\") added logic to allow using RAM below the kernel load address.\nHowever, this does not work for NOMMU, where PAGE_OFFSET is fixed to the\nkernel load address. Since that range of memory corresponds to PFNs\nbelow ARCH_PFN_OFFSET, mm initialization runs off the beginning of\nmem_map and corrupts adjacent kernel memory. Fix this by restoring the\nprevious behavior for NOMMU kernels.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00225,"percentile":0.13384,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b008e327fa570aca210f98c817757649bae56694","tags":[]},{"url":"https://git.kernel.org/stable/c/ea6628e4e2353978af7e3b4ad4fdaab6149acf3d","tags":[]},{"url":"https://git.kernel.org/stable/c/aea702dde7e9876fb00571a2602f25130847bf0f","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":2.68},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3335068f87217ea59d08f462187dc856652eea15, < b008e327fa570aca210f98c817757649bae56694",">= 3335068f87217ea59d08f462187dc856652eea15, < ea6628e4e2353978af7e3b4ad4fdaab6149acf3d",">= 3335068f87217ea59d08f462187dc856652eea15, < aea702dde7e9876fb00571a2602f25130847bf0f"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T15:11:39.923129Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35705","exploited":false,"provenance":"source"}}