[GIT PULL] More KVM fixes for Linux 7.3-rc8 or final
From: Paolo Bonzini
Date: Thu Oct 15 2026 - 05:56:33 EST
Linus,
The following changes since commit 4056b3c9d3c92ea45955641dbafeb9b960e146ef:
Merge tag 'nios2_update_for_v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux (2026-10-13 18:06:58 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus
for you to fetch changes up to c8f4cfe1cf93bce924e27f2abead7a4c4a487505:
KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry (2026-10-14 16:42:40 +0200)
----------------------------------------------------------------
Even more x86 fixes:
- Avoid a false positive panic in the #PF handler, if the kernel triggers
a page fault within the asynchronous page fault handler before the flags
are reset. This can happen for example because of a perf NMI.
- Always reset a vCPU's MMU pointer back to the root MMU when loading
nested guest state fails during RSM or KVM_SET_NESTED_STATE. Otherwise,
KVM tries to run a non-nested guest with a nested MMU, which can result
in a NULL pointer dereference attempting to get the nested MMU's pgd
(EPTP or nested CR3).
----------------------------------------------------------------
Amirmohammad Eftekhar (1):
KVM: nVMX: Reset MMU back to the root MMU if loading L2 state fails for !VM-Entry
EJ Campbell (1):
x86/kvm: Don't consume async #PF flags on a kernel #PF in NMI context
arch/x86/kernel/kvm.c | 32 +++++++++++++++++++++++++++++---
arch/x86/kvm/vmx/nested.c | 4 +++-
2 files changed, 32 insertions(+), 4 deletions(-)