KVM: x86/mmu: Bug the VM if KVM attempts to walk more levels than the MMU has
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d6f3877eabf159167ee9972d627396412a04ac74, Kernel 115f9405a2ed6d78ee7ad8436bdd638743f6d1d4, Kernel 54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fe660f7244d7e237ab7726813dc9aec8e94900d6 <d6f3877eabf159167ee9972d627396412a04ac74, >=fe660f7244d7e237ab7726813dc9aec8e94900d6 <115f9405a2ed6d78ee7ad8436bdd638743f6d1d4, >=fe660f7244d7e237ab7726813dc9aec8e94900d6 <54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc, >=fe660f7244d7e237ab7726813dc9aec8e94900d6 <73f427e5afd94edd5d0e7cdddc2ecc794f28c492, =5.14 | d6f3877eabf159167ee9972d627396412a04ac74, 115f9405a2ed6d78ee7ad8436bdd638743f6d1d4, 54afd548602bb96b3fbb0b4b11ccbbfeb5fb46fc, 73f427e5afd94edd5d0e7cdddc2ecc794f28c492 |
| linux-kernel: Kernel | >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=5.14.0 <6.12.117 | 6.18.61, 7.3.2, 6.12.117 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket