PT-2024-8396
CVE-2023-52659
·
Published
2023-11-23
·
Updated
2026-10-21
Description by
CVSS 3.1
5.5
MediumMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the
pfn to kaddr() macro in the Linux kernel, which requires a 64-bit input value to prevent loss of valid address bits when shifting the input by PAGE SHIFT to calculate the physical address for a virtual address. A problem arises when a 40-bit bit-field, such as the GFN in the struct used for page-state change requests in pvalidate pages() (used by SEV-SNP guests), is passed directly into pfn to kaddr(), causing guest crashes when dealing with addresses above the 1TB range. This is resolved by using an inline function instead of a macro, ensuring the input is implicitly cast to the expected 64-bit input type before the shift operation.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾