PT-2024-8396 · Linux+6 · Linux Kernel+6
Published
2023-11-23
·
Updated
2025-09-29
·
CVE-2023-52659
CVSS v3.1
5.5
Medium
| Vector | AV: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.
Exploit
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu