CVE Hub

CVE-2026-99082

KVM: x86: Use active memslots for the per-vCPU MMIO cache

Published
2026-10-23
Last modified
2026-10-24
CNA
Linux
NVD status
Received

Fetching some sources has been requested. Reload in about a minute to see them.

CVSS v3.1 (listed by NVD)
8.8
HIGH
Scored by Linux (not yet scored by NVD)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
8.8
HIGH
Scored by CNA (Linux) · v3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS exploit probability
0.2%
Percentile 10.5%
as of 2026-10-24
CISA KEV
—
Not listed

Attack conditions and impact

Derived from the CNA (via NVD) CVSS 3.1 vector
LocalLoginNo interaction Scope change Confidentiality HIntegrity HAvailability H
MetricValueMeaning
Attack vector AVLLocal
Attack complexity ACLLow (easy)
Privileges required PRLRegular user
User interaction UINNone
Scope SCChanged (affects other components)
Confidentiality CHHigh
Integrity IHHigh
Availability AHHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Description

NVD

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Use active memslots for the per-vCPU MMIO cache KVM tags the per-vCPU MMIO cache with a memslot generation so that a memslot update invalidates cached MMIO information. Both the fill and validation paths use kvm_memslots(), which unconditionally selects address space 0, even when the vCPU is running in SMM and using address space 1. Commit 56f17dd3fbc4 ("kvm: x86: fix stale mmio cache bug") added the memslot generation to the cache key so that a memslot update could not leave a stale entry valid. When commit 699023e23965 ("KVM: x86: add SMM to the MMU role, support SMRAM address space") added the SMM address space, these helpers were not converted to use the active memslots. Consequently, an update to the SMM memslots can leave an entry from the old SMM address space apparently valid after the vCPU returns to the normal address space. A guest can then cause an access to valid RAM at the same GFN to be returned to userspace as KVM_EXIT_MMIO. Completing that exit through the VMM's RAM address space writes the backing page without going through KVM's write-tracking path. If the page backs a nested EPT table, KVM can continue using shadow translations derived from the old contents. The WARN_ON_ONCE() in kvm_mmu_write_protect_fault() catches this invalid cache and memslot combination. Use the vCPU's active memslots when caching and validating the entry. Memslot generations are unique across address spaces, so the generation also distinguishes the normal and SMM views. This matches the MMIO SPTE cache, which already uses kvm_vcpu_memslots(). On an unpatched current-mainline kernel, a regression test that fills the cache in SMM and updates only the SMM memslots fails the intended RAM write and triggers the kvm_mmu_write_protect_fault() warning. With this change, the same test completes the RAM write without a warning. The x86/smm_test, set_memory_region_test, and memslot_modification_stress_test selftests also pass.

CVSS assessments

ProviderVersionScoreVector
NVD / 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)3.18.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CNA / Linux3.18.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: 699023e239658e62da6f42f47d31b54788521ec1 … < a63f79d9da9468952396af73e1e53330845cf876
affected: 699023e239658e62da6f42f47d31b54788521ec1 … < 7fd4e64f4bbc8c35ae8f0d2a1fb5b77a76d5b4fd
affected: 699023e239658e62da6f42f47d31b54788521ec1 … < 2566780c684c9c21241d409d790087c73070f312
affected: 699023e239658e62da6f42f47d31b54788521ec1 … < e792a9ace39d2812a5b342a1987186c7bc653204
affected: 699023e239658e62da6f42f47d31b54788521ec1 … < b3e6212dea2e4328a841ceb37f377583176dc735
default: unaffected
LinuxLinux
affected: 4.2
unaffected: 0 … < 4.2
unaffected: 6.6.160 … <= 6.6.*
unaffected: 6.12.114 … <= 6.12.*
unaffected: 6.18.58 … <= 6.18.*
unaffected: 7.2.12 … <= 7.2.*
unaffected: 7.3 … <= *
default: affected

Open-source packages (GitHub Advisory / OSV)

KVM: x86: Use active memslots for the per-vCPU MMIO cache

EcosystemPackageAffected versionsFixed in
>= 699023e239658e62da6f42f47d31b54788521ec1, < a63f79d9da9468952396af73e1e53330845cf876; < 7fd4e64f4bbc8c35ae8f0d2a1fb5b77a76d5b4fd; < 2566780c684c9c21241d409d790087c73070f312; < e792a9ace39d2812a5b342a1987186c7bc653204; < b3e6212dea2e4328a841ceb37f377583176dc735a63f79d9da9468952396af73e1e53330845cf876, 7fd4e64f4bbc8c35ae8f0d2a1fb5b77a76d5b4fd, 2566780c684c9c21241d409d790087c73070f312, e792a9ace39d2812a5b342a1987186c7bc653204, b3e6212dea2e4328a841ceb37f377583176dc735
LinuxKernel>= 4.2.0, < 6.6.160; >= 6.7.0, < 6.12.114; >= 6.13.0, < 6.18.58; >= 6.19.0, < 7.2.126.6.160, 6.12.114, 6.18.58, 7.2.12

Linux distribution status

Red Hat ↗ Fetching

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxopen not yet assigned
forkylinuxopen not yet assigned
sidlinuxresolved not yet assigned7.2.12-1
trixielinuxopen not yet assigned

Ubuntu ↗ Fetching

References (8)