Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.4, < 6.6.30 |
References
- https://git.kernel.org/stable/c/aea702dde7e9876fb00571a2602f25130847bf0fPatch
- https://git.kernel.org/stable/c/b008e327fa570aca210f98c817757649bae56694Patch
- https://git.kernel.org/stable/c/ea6628e4e2353978af7e3b4ad4fdaab6149acf3dPatch
- https://git.kernel.org/stable/c/aea702dde7e9876fb00571a2602f25130847bf0fPatch
- https://git.kernel.org/stable/c/b008e327fa570aca210f98c817757649bae56694Patch
- https://git.kernel.org/stable/c/ea6628e4e2353978af7e3b4ad4fdaab6149acf3dPatch
FAQ
What is CVE-2024-35987?
CVE-2024-35987 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ma...
How severe is CVE-2024-35987?
CVE-2024-35987 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35987?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.