CVE-2024-35987

CVE-2024-35987

High · published May 20, 2024

CVSS v3.1
8.4
EPSS
0%
Percentile
12.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.4th percentile
Published
2024-05-20T14:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.4, < 6.6.306.6.30
linux/linux_kernel≥ 6.7, < 6.8.96.8.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 20 MAY 09:47Z
    riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
    cvelistv5