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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
fe660f7244d7e237ab7726813dc9aec8e94900d6 to < d6f3877eabf159167ee9972d627396412a04ac74affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to < 54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fcaffectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to < 73f427e5afd94edd5d0e7cdddc2ecc794f28c492affectedfe660f7244d7e237ab7726813dc9aec8e94900d6 to < 115f9405a2ed6d78ee7ad8436bdd638743f6d1d4affected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected6.12.117 to ≤ 6.12.*unaffected6.18.61 to ≤ 6.18.*unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected