Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26991

published medium CVSS 3.1 · 5.5

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

Published
01 May 2024, 05:27:53 UTC
Updated
11 May 2026, 20:08:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux90b4fe17981e155432c4dbc490606d0c2e9c2199 to < 048cc4a028e635d339687ed968985d2d1669494c · 90b4fe17981e155432c4dbc490606d0c2e9c2199 to < 992b54bd083c5bee24ff7cc35991388ab08598c4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.8 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.37.1.el9_4 ALSA-2024:6997
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.37.1.el9_4 ELSA-2024-6997
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.37.1.el9_4 RHSA-2024:6997
AlmaLinux 9 kernel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 libperf Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 perf Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 rtla Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
AlmaLinux 9 rv Advisory build 5.14.0-427.37.1.el9_4 ALSA-2024:6997
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997
Oracle Linux 9 rvx86_64 Advisory build 0:5.14.0-427.37.1.el9_4 ELSA-2024-6997

Package entries are limited to the first 100 builds and 100 linked advisories.

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 supported. These arrays include indices for unaligned head and tail huge pages. Preventing huge pages from spanning adjacent memslot is covered by incrementing the count in head and tail kvm_lpage_info when the memslot is allocated, but disallowing huge pages for memory that has mixed attributes has to be done in a more complicated way. During the KVM_SET_MEMORY_ATTRIBUTES ioctl KVM updates lpage_info for each memslot in the range that has mismatched attributes. KVM does this a memslot at a time, and marks a special bit, KVM_LPAGE_MIXED_FLAG, in the kvm_lpage_info for any huge page. This bit is essentially a permanently elevated count. So huge pages will not be mapped for the GFN at that page size if the count is elevated in either case: a huge head or tail page unaligned to the memslot or if KVM_LPAGE_MIXED_FLAG is set because it has mixed attributes. To determine whether a huge page has consistent attributes, the KVM_SET_MEMORY_ATTRIBUTES operation checks an xarray to make sure it consistently has the incoming attribute. Since level - 1 huge pages are aligned to level huge pages, it employs an optimization. As long as the level - 1 huge pages are checked first, it can just check these and assume that if each level - 1 huge page contained within the level sized huge page is not mixed, then the level size huge page is not mixed. This optimization happens in the helper hugepage_has_attrs(). Unfortunately, although the kvm_lpage_info array representing page size 'level' will contain an entry for an unaligned tail page of size level, the array for level - 1 will not contain an entry for each GFN at page size level. The level - 1 array will only contain an index for any unaligned region covered by level - 1 huge page size, which can be a smaller region. So this causes the optimization to overflow the level - 1 kvm_lpage_info and perform a vmalloc out of bounds read. In some cases of head and tail pages where an overflow could happen, callers skip the operation completely as KVM_LPAGE_MIXED_FLAG is not required to prevent huge pages as discussed earlier. But for memslots that are smaller than the 1GB page size, it does call hugepage_has_attrs(). In this case the huge page is both the head and tail page. The issue can be observed simply by compiling the kernel with CONFIG_KASAN_VMALLOC and running the selftest “private_mem_conversions_test”, which produces the output like the following: BUG: KASAN: vmalloc-out-of-bounds in hugepage_has_attrs+0x7e/0x110 Read of size 4 at addr ffffc900000a3008 by task private_mem_con/169 Call Trace: dump_stack_lvl print_report ? __virt_addr_valid ? hugepage_has_attrs ? hugepage_has_attrs kasan_report ? hugepage_has_attrs hugepage_has_attrs kvm_arch_post_set_memory_attributes kvm_vm_ioctl It is a little ambiguous whether the unaligned head page (in the bug case also the tail page) should be expected to have KVM_LPAGE_MIXED_FLAG set. It is not functionally required, as the unal ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 90b4fe17981e155432c4dbc490606d0c2e9c2199 to < 048cc4a028e635d339687ed968985d2d1669494c (affected · git)90b4fe17981e155432c4dbc490606d0c2e9c2199 to < 992b54bd083c5bee24ff7cc35991388ab08598c4 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.8 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

5

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
e4ad7454a331cfb39b6cd433f2dfbf99494c1e12b735ee7f0940aa4f1f6b471c
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected