Linux kernel: KVM: x86: Use active memslots for the per-vCPU MMIO cache
Overview
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.
- Published
- 10/23/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < 485a5286675b15b00ee850d90eaa178cc588445f | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < 445e3369ac8cc1b18aedc8e8f977c68a0a326fa9 | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < 1c77d33d85786d36e56ca1b580fb55347fd65b47 | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < a63f79d9da9468952396af73e1e53330845cf876 | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < 7fd4e64f4bbc8c35ae8f0d2a1fb5b77a76d5b4fd | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < 2566780c684c9c21241d409d790087c73070f312 | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < e792a9ace39d2812a5b342a1987186c7bc653204 | Verify advisory | Source |
Linux Linux | ≥ 699023e239658e62da6f42f47d31b54788521ec1, < b3e6212dea2e4328a841ceb37f377583176dc735 | Verify advisory | Source |
Linux Linux | 4.2 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.