What’s Vulnerable › Vulnerabilities

CVE-2024-26795: riscv: Sparse-Memory/vmemmap out-of-bounds fix

Description

In the Linux kernel, the following vulnerability has been resolved: riscv: Sparse-Memory/vmemmap out-of-bounds fix Offset vmemmap so that the first page of vmemmap will be mapped to the first page of physical memory in order to ensure that vmemmap’s bounds will be respected during pfn_to_page()/page_to_pfn() operations. The conversion macros will produce correct SV39/48/57 addresses for every possible/valid DRAM_BASE inside the physical memory limits. v2:Address Alex's comments

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.212, 5.15.151, 6.1.81, 6.6.21. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26795 or the next vulnerability affects your stack