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

VectorAV: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

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-09955
CVE-2023-52659
INFSA-2024_9315
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2008-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6816-1
USN-6817-1
USN-6817-2
USN-6817-3
USN-6878-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu