Linux · Linux Kernel · CVE-2024-50115
Name of the Vulnerable Software and Affected Versions:
Linux kernel versions prior to 6.6.61
Description:
The issue is related to the KVM: nSVM flow in the Linux kernel, where bits 4:0 of CR3 are not ignored when loading PDPTEs from memory for nested SVM. This can result in an out-of-bounds read in the worst-case scenario, for example, if the target page is at the end of a memslot and the VMM isn't using guard pages. According to the APM and SDM, the low 5 address bits 4:0 of the CR3 register are assumed to be 0 and ignored.
Recommendations:
For Linux kernel versions prior to 6.6.61, update to version 6.6.61 or later to resolve the issue. As a temporary workaround, consider restricting the use of the nSVM flow in KVM to minimize the risk of exploitation.