PT-2024-21607

CVE-2024-26991

·

Published

2024-03-14

·

Updated

2025-09-29

Description by

CVSS 2.0
7.5
High
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the KVM (Kernel-based Virtual Machine) component of the Linux kernel. It occurs when memory attributes are set on a GFN (Guest Frame Number) range, and the range has specific properties applied to the TDP (Translation Data Processor). A huge page cannot be used when the attributes are inconsistent. The KVM SET MEMORY ATTRIBUTES operation checks an xarray to ensure it consistently has the incoming attribute. However, an optimization employed by the helper hugepage has attrs() function can cause an overflow of the level - 1 kvm lpage info array, resulting in a vmalloc out-of-bounds read.
The KVM LPAGE MIXED FLAG bit is used to mark huge pages with mixed attributes, and it is essentially a permanently elevated count. Huge pages will not be mapped for the GFN at that page size if the count is elevated. The issue can be observed by compiling the kernel with CONFIG KASAN VMALLOC and running the selftest "private mem conversions test".
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALSA-2024:6997
ALSA-2025_16880
INFSA-2024_6997
RHSA-2024:6997
RHSA-2024_6997
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6893-1
USN-6893-2
USN-6893-3
USN-6918-1
Found an issue in the description? Have something to add? Feel free to write us 👾