CVE-2024-35987

High

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.

SeverityHigh
CVSS8.4
Exploit probability—
ProductLinux Kernel
PublishedMay 20, 2024
First seenMay 20, 2024

How to fix

Update
  • linux linux_kernel6.6.30, 6.8.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.4 ≤ v < 6.6.30, 6.7 ≤ v < 6.8.9, 6.96.6.30, 6.8.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.