CVE-2024-35987
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
The following references provide additional information about CVE-2024-35987 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/aea702dde7e9876fb00571a2602f25130847bf0f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b008e327fa570aca210f98c817757649bae56694
-
PatchKernel patch commithttps://git.kernel.org/stable/c/ea6628e4e2353978af7e3b4ad4fdaab6149acf3d
Frequently asked questions
-
What is CVE-2024-35987?
CVE-2024-35987 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . CVE-2024-35987 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-35987?
CVE-2024-35987 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-35987?
No patch is currently available for CVE-2024-35987. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-35987 actively exploited?
No — CVE-2024-35987 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.