On Thu, 01 Jun 2023 18:01:37 -0700, Sean Christopherson wrote: > Factor in the address space (non-SMM vs. SMM) of the target shadow page > when recovering potential NX huge pages, otherwise KVM will retrieve the > wrong memslot when zapping shadow pages that were created for SMM. The > bug most visibly manifests as a WARN on the memslot being non-NULL, but > the worst case scenario is that KVM could unaccount the shadow page > without ensuring KVM won't install a huge page, i.e. if the non-SMM slot > is being dirty logged, but the SMM slot is not. > > [...] Applied to kvm-x86 fixes, thanks! [1/1] KVM: x86/mmu: Grab memslot for correct address space in NX recovery worker https://github.com/kvm-x86/linux/commit/817fa998362d -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes