PT-2024-21607 · Linux+6 · Linux Kernel+6

Rick Edgecombe

·

Published

2024-03-14

·

Updated

2025-09-29

·

CVE-2024-26991

CVSS v2.0

7.5

High

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

Exploit

Out of bounds Read

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:6997
ALSA-2025_16880
BDU:2025-02921
CVE-2024-26991
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

Affected Products

Almalinux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu