# CVE-2026-99176: KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-10-28T10:35:30.615Z
- Modified: 2026-10-30T13:21:51.250Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry

Reset the vCPU's MMU pointer back to the root MMU if loading L2 state fails
in the "not from VM-Entry" case, i.e. when emulating RSM or handling
KVM_SET_NESTED_STATE.  Failure to unwind the MMU pointer results in KVM
trying to run L1 with a nested MMU, and is especially problematic if the
vCPU manages to free its nested state before the VM crashes.  Constructing
the root for a nested EPT MMU goes through vmcs12, which is dynamically
allocated/freed when nVMX is enabled/disabled.  And so if the nested state
is freed with the MMU still pointing at the nested MMU, KVM will hit a NULL
pointer deref when attempting to get L1=>L2 EPTP.

  BUG: kernel NULL pointer dereference, address: 0000000000000078
  #PF: supervisor read access in kernel mode
  #PF: error_code(0x0000) - not-present page
  PGD 114a2d067 P4D 111743067 PUD 11141f067 PMD 0
  Oops: Oops: 0000 [#1] SMP
  CPU: 20 UID: 1000 PID: 1272 Comm: nested_tdp_faul Not tainted 7.3.0-rc4-8c89f11d1a99b-sink-vm #1914 PREEMPTLAZY
  Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
  RIP: 0010:nested_ept_get_eptp+0xb/0x10 [kvm_intel]
  Call Trace:
   <TASK>
   kvm_mmu_load+0xcd/0x870 [kvm]
   kvm_arch_vcpu_ioctl_run+0x18f5/0x1f80 [kvm]
   kvm_vcpu_ioctl+0x2c7/0x970 [kvm]
   __x64_sys_ioctl+0x90/0xd0
   do_syscall_64+0x9c/0x4d0
   entry_SYSCALL_64_after_hwframe+0x4b/0x53
  RIP: 0033:0x47491b
   </TASK>
  Modules linked in: kvm_intel kvm irqbypass
  CR2: 0000000000000078
  ---[ end trace 0000000000000000 ]---
  RIP: 0010:nested_ept_get_eptp+0xb/0x10 [kvm_intel]

[sean: write changelog]

(As written by CVE List.)

## Affected

- Linux Linux: from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before c2586874605ec23b611c57fe71d183d98f168971; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before c611337aee17a0627e365e58e2b6e78803fb3c36; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before df4d01be5b318024bec68654c7af0ebc0e0ed8a1; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before 6a36b05fc5b3d660fcc826133dc92e2fc87bd1de; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before f0c077c36fda9d498db39199e3997860e985efc8; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before d00d5f534a8238674755e59826a6c7d3c8efb870; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before c9716f956216eb74ab0aad7f633586edd49e0322; from 72e9cbdb43384ceacc49e2fb6b8c8fb7c5988778 before c8f4cfe1cf93bce924e27f2abead7a4c4a487505; 4.15 (not affected: before 4.15; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c2586874605ec23b611c57fe71d183d98f168971>
- <https://git.kernel.org/stable/c/c611337aee17a0627e365e58e2b6e78803fb3c36>
- <https://git.kernel.org/stable/c/df4d01be5b318024bec68654c7af0ebc0e0ed8a1>
- <https://git.kernel.org/stable/c/6a36b05fc5b3d660fcc826133dc92e2fc87bd1de>
- <https://git.kernel.org/stable/c/f0c077c36fda9d498db39199e3997860e985efc8>
- <https://git.kernel.org/stable/c/d00d5f534a8238674755e59826a6c7d3c8efb870>
- <https://git.kernel.org/stable/c/c9716f956216eb74ab0aad7f633586edd49e0322>
- <https://git.kernel.org/stable/c/c8f4cfe1cf93bce924e27f2abead7a4c4a487505>

## Sources

- CVE List: [CVE-2026-99176](https://www.cve.org/CVERecord?id=CVE-2026-99176), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99176](https://nvd.nist.gov/vuln/detail/CVE-2026-99176), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99176 · Whole record: https://cve.day/CVE-2026-99176.json · Rebuilt by cve.day 2026-11-25T22:59:47.590Z
