KVM: x86/mmu: Bug the VM if KVM attempts to walk more levels than the MMU has
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86/mmu: Bug the VM if KVM attempts to walk more levels than the MMU has
Extend the "EFER.LMA && !CR4.PAE" check, which exists largely to guard against KVM configuring a paging32 MMU with more than 2 levels of paging, with a very explicit check for exactly that: that KVM isn't trying to walk more levels of paging than the MMU template provides. I.e. harden KVM against all bugs that would cause KVM to generates accesses beyond the bounds of guest_walker's arrays, regardless of how KVM ended up with the misconfigured MMU.
Note, don't use w->cpu_role.base.level directly as the paging64 template only provides two levels of page tables for PAE paging on 32-bit hosts, and handles the third level by manually emulating the PDPTR access.
| Product | Versions |
|---|---|
| Linux Linux | fe660f7244d7e237ab7726813dc9aec8e94900d6 to before 5e355f718d31145946fbe62d31f642eb990a0076 Affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to before 40730c48b8ec666cfa65522beaeca681583a0991 Affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to before eb9ad548e9b269172ff83719f75ffdce4df2e7cf Affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to before d6f3877eabf159167ee9972d627396412a04ac74 Affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to before 54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc Affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to before 73f427e5afd94edd5d0e7cdddc2ecc794f28c492 Affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to before 115f9405a2ed6d78ee7ad8436bdd638743f6d1d4 Affected |
| Linux Linux | 5.14 Affectedbefore 5.14 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.1 High | Linux |
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/5e355f718d31145946fbe62d31f642eb990a0076
- https://git.kernel.org/stable/c/40730c48b8ec666cfa65522beaeca681583a0991
- https://git.kernel.org/stable/c/eb9ad548e9b269172ff83719f75ffdce4df2e7cf
- https://git.kernel.org/stable/c/d6f3877eabf159167ee9972d627396412a04ac74
- https://git.kernel.org/stable/c/54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc
- https://git.kernel.org/stable/c/73f427e5afd94edd5d0e7cdddc2ecc794f28c492
- https://git.kernel.org/stable/c/115f9405a2ed6d78ee7ad8436bdd638743f6d1d4
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.