Menu

Star on GitHub · 3.2k

CVE-2024-26991

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: KVM: x86/mmu: x86: Don't overflow lpage_info when checking attributes Fix KVM_SET_MEMORY_ATTRIBUTES to not overflow lpage_info…

Published May 1, 2024CWE-125EPSS 0.23%

Overview

CVE-2024-26991 is a medium-severity vulnerability. It was published on May 1, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86/mmu: x86: Don't overflow lpage_info when checking attributes

Fix KVM_SET_MEMORY_ATTRIBUTES to not overflow lpage_info array and trigger

KASAN splat, as seen in the private_mem_conversions_test selftest.

When memory attributes are set on a GFN range, that range will have

specific properties applied to the TDP. A huge page cannot be used when

the attributes are inconsistent, so they are disabled for those the

specific huge pages. For internal KVM reasons, huge pages are also not

allowed to span adjacent memslots regardless of whether the backing memory

could be mapped as huge.

What GFNs support which huge page sizes is tracked by an array of arrays

'lpage_info' on the memslot, of ‘kvm_lpage_info’ structs. Each index of

lpage_info contains a vmalloc allocated array of these for a specific

supported page size. The kvm_lpage_info denotes whether a specific huge

page (GFN and page size) on the memslot is support

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-26991?

CVE-2024-26991 is a medium-severity vulnerability. It was published on May 1, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-26991?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26991?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26991?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26991 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all