CVE-2026-99082
8.8 HIGHPublished 2026-10-23 · Updated 2026-10-24
AI risk analysis
- Summary
- The Linux kernel's KVM subsystem incorrectly uses the non-SMM memslots when validating the per-vCPU MMIO cache during SMI handling, allowing a malicious guest to cause stale MMIO entries from the old SMM address space to persist after returning to normal mode, potentially leading to incorrect MMIO exits and memory corruption in nested virtualization scenarios.
- Exploitability
- Exploitation requires local access as a privileged guest user (PR:L) with the ability to trigger SMI transitions and manipulate SMM memslots; no public exploit is known.
- Blast radius
- In nested virtualization environments, this could allow a compromised guest to corrupt host memory or bypass EPT protections, leading to host compromise or denial of service.
- Detection
- Defenders may observe unexpected KVM_EXIT_MMIO exits for GFNs that map to valid RAM in the normal address space, and/or a WARN_ON_ONCE() trigger in kvm_mmu_write_protect_fault() when the MMU detects an invalid memslot/translation mismatch.
- Prioritized remediation
- Apply the kernel patch referenced in commit 699023e23965 and ensure the fix for CVE-2026-99082 (which converts KVM MMIO cache helpers to use active memslots per vCPU address space) is included; upgrade to a Linux kernel version that contains this fix.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
All references
- https://git.kernel.org/stable/c/2566780c684c9c21241d409d790087c73070f312
- https://git.kernel.org/stable/c/7fd4e64f4bbc8c35ae8f0d2a1fb5b77a76d5b4fd
- https://git.kernel.org/stable/c/a63f79d9da9468952396af73e1e53330845cf876
- https://git.kernel.org/stable/c/b3e6212dea2e4328a841ceb37f377583176dc735
- https://git.kernel.org/stable/c/e792a9ace39d2812a5b342a1987186c7bc653204
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-89919
- HIGHCVE-2026-99177
- HIGHCVE-2026-100134
- HIGHCVE-2026-100209
- HIGHCVE-2026-100211
- CRITICALCVE-2026-100219
- HIGHCVE-2026-100660PoC
- HIGHCVE-2026-100661PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.