[PATCH 0/7] KVM: a bunch of fixes

From: Paolo Bonzini

Date: Mon Nov 02 2026 - 18:47:53 EST


Seven fixes ranging from performance issues to missing checks and potential
use of a stale role. All except the last one are Cc'd to stable, and all
of them are already on their way to Linus.

Paolo

Sean Christopherson (7):
KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
KVM: x86/mmu: Conditionally resched when retrying gPTE walk on A/D
update failure
KVM: x86: Conditionally resched when restarting REP string emulation
KVM: nVMX: Process each host MSR entry at most once when unwinding
failed VM-Entry
KVM: x86/mmu: Cap number of parent PTEs per SP at 1000 (the arbitrary
rmap limit)
KVM: x86: Unconditionally reset MMU context when emulating INIT
KVM: x86: Flush guest TLB when emulating a RESET to strictly honor the
spec

arch/x86/kvm/mmu/mmu.c | 10 ++++++++
arch/x86/kvm/mmu/paging_tmpl.h | 11 +++++++-
arch/x86/kvm/svm/nested.c | 23 +++++++++++------
arch/x86/kvm/svm/svm.c | 2 ++
arch/x86/kvm/svm/svm.h | 2 ++
arch/x86/kvm/vmx/nested.c | 1 +
arch/x86/kvm/x86.c | 46 ++++++++++++++++++----------------
7 files changed, 66 insertions(+), 29 deletions(-)

--
2.52.0