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. Т.е. закалить KVM против всех ошибок, которые могут привести к тому, что KVM будет генерировать доступы за пределами массивов guest_walker's, независимо от того, как KVM оказался с неправильно настроенным MMU. Обратите внимание, что не используйте w->cpu_role.base.level напрямую, поскольку шаблон paging64 предоставляет только два уровня таблиц страниц для подкачки PAE на 32-разрядных хостах и обрабатывает третий уровень, вручную эмулируя доступ PDPTR.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1