CVE-2024-35987

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/05/2024
Last modified:
24/09/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.4 (including) 6.6.30 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.8.9 (excluding)
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*