CVE-2026-99082

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

  • High 8.8

Description

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.

Key facts

Published
23 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.157% likely to be exploited in the next 30 days, higher than 4.869% of CVEs (scores for 17 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.8CVSS 3.1, Highfrom the CNA (Linux)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding 485a5286675b15b00ee850d90eaa178cc588445f (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding 445e3369ac8cc1b18aedc8e8f977c68a0a326fa9 (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding 1c77d33d85786d36e56ca1b580fb55347fd65b47 (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding a63f79d9da9468952396af73e1e53330845cf876 (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding 7fd4e64f4bbc8c35ae8f0d2a1fb5b77a76d5b4fd (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding 2566780c684c9c21241d409d790087c73070f312 (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding e792a9ace39d2812a5b342a1987186c7bc653204 (affected)
  • 699023e239658e62da6f42f47d31b54788521ec1 up to but excluding b3e6212dea2e4328a841ceb37f377583176dc735 (affected)
LinuxLinux
  • Default status: affected
  • 4.2 (affected)
  • 0 up to but excluding 4.2 (unaffected)
  • 5.10.273 up to and including 5.10.* (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.114 up to and including 6.12.* (unaffected)
  • 6.18.58 up to and including 6.18.* (unaffected)
  • 7.2.12 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 23 Oct 2026 Published

References