CVE-2026-99312·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Unconditionally reset MMU context when emulating INIT Force an MMU reset when emulating an INIT even if paging was already disabled, as the MMU page role includes guest_mode (L2), i.e. an INIT while L2 is running with CR0.PG=0 will result in KVM running L1 with a stale MMU context. Alternatively, the reset could be scoped strictly to paging being enabled or L2 being active, but SMM is also encoded in the page role. Even though it _should_ be impossible for the vCPU to be INIT'd while SMM is active, there's zero value in not handling SMM. At that point, the only scenario where KVM _doesn't_ need to reset the MMU context is on an INIT with the vCPU running in Real Mode or Unpaged Protect Mode, and while INIT in those modes is somewhat common, it's far from a hot path and re-initializing the MMU is not expensive, especially when the role isn't changing (KVM elides most of the re-configuration in that case). Note, like the Fixes commit, this bug only affects nested SVM as INIT is an unconditional intercept on VMX, i.e. it's impossible to emulate INIT while L2 is active. Temporarily keep the guest TLB flush when CR0.PG is being cleared even though it is fully redundant with the flush that is emitted on all INIT events (KVM itself only does RESET when a vCPU is being created, i.e. when CR0.PG must be '0').
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
- Published
How to fix this CVE
Update your Linux kernel to a patched version to fix a memory management unit (MMU) context reset issue in nested virtualization environments. If you are running kernel 6.12.x, update to 6.12.118 or later; for 6.18.x, update to 6.18.64 or later; for 7.3.x, update to 7.3.5 or later; or for mainline, update to 7.4-rc2 or later. Alternatively, install your Linux distribution's patched kernel package, which will be released through standard security channels.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version with: uname -r
- Step 2: Verify if you are running nested virtualization (KVM/libvirt) by checking: lsmod | grep kvm
- Step 3: If using nested SVM, check for stale MMU context errors in kernel logs: sudo journalctl -k | grep -i 'mmu\|page.*role\|context'
- Step 4: After patching, confirm the new kernel version with: uname -r and verify it matches or exceeds the fixed version for your branch
FAQ
What is CVE-2026-99312?
This is a vulnerability in the Linux kernel's KVM (Kernel Virtual Machine) hypervisor where the MMU context is not properly reset during INIT emulation in nested virtualization scenarios, potentially allowing a stale memory management state to persist when transitioning between guest modes in nested SVM environments.
Is CVE-2026-99312 being actively exploited?
No, there are no known active exploits or public exploit code available for this vulnerability. It is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog.
What versions of Kernel are affected by CVE-2026-99312?
The vulnerability affects kernels prior to version 6.12.118 (6.12.x branch), 6.18.64 (6.18.x branch), 7.3.5 (7.3.x branch), and mainline versions before 7.4-rc2. The exact affected range across all versions is currently unknown, but all users should update to the fixed versions listed for their kernel branch.
How do I check if my server is vulnerable to CVE-2026-99312?
Run uname -r to get your kernel version, then compare it against the fixed versions: if you're on 6.12.x check if it's before 6.12.118; on 6.18.x check if it's before 6.18.64; on 7.3.x check if it's before 7.3.5. Additionally, verify you are running nested virtualization with lsmod | grep kvm to determine exposure.
Does Defensia detect CVE-2026-99312?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-99312 will appear in your dashboard with remediation steps tailored to your kernel version and distribution.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-99312. Free for 1 server.
Get started free