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.
Metrics
Affected Vendors & Products
References
History
Fri, 20 Dec 2024 08:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-05-20T09:47:53.717Z
Updated: 2024-12-19T08:59:41.426Z
Reserved: 2024-05-17T13:50:33.145Z
Link: CVE-2024-35987
Vulnrichment
Updated: 2024-08-02T03:30:12.480Z
NVD
Status : Awaiting Analysis
Published: 2024-05-20T10:15:13.057
Modified: 2024-11-21T09:21:22.200
Link: CVE-2024-35987
Redhat