CVE-2024-35987

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 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.

Package Linux Kernel
Published 2024-05-20
Last modified 2025-09-24
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected versions

Linux kernel versions 6.4 and later are affected. Fixed in 6.6.30, 6.8.9, 6.9 and their respective stable series.

Affected from
≥ 6.4
Fixed in
✓ 6.6.30 6.6.x ✓ 6.8.9 6.8.x ✓ 6.9

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 . It affects Linux kernel versions from 6.4 onward and has been patched in 6.6.30, 6.8.9 and 6.9. 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?

    Yes. CVE-2024-35987 has been patched. Fixed versions include 6.6.30, 6.8.9 and 6.9. If you are running Linux kernel 6.4 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • 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.