[GIT PULL] KVM fixes for Linux 7.0-rc6
From: Paolo Bonzini
Date: Sun Mar 29 2026 - 12:23:26 EST
Linus,
The following changes since commit 0138af2472dfdef0d56fc4697416eaa0ff2589bd:
Merge tag 'erofs-for-7.0-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs (2026-03-25 18:41:35 -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 df83746075778958954aa0460cca55f4b3fc9c02:
KVM: x86/mmu: Only WARN in direct MMUs when overwriting shadow-present SPTE (2026-03-27 22:33:33 +0100)
----------------------------------------------------------------
s390:
* Lots of small and not-so-small fixes for the newly rewritten gmap,
mostly affecting the handling of nested guests.
x86:
* Fix an issue with shadow paging, which causes KVM to install an MMIO PTE
in the shadow page tables without first zapping a non-MMIO SPTE if KVM
didn't see the write that modified the shadowed guest PTE. While commit
a54aa15c6bda3 was right about it being impossible to miss such a write
if it was coming from the guest, it failed to account for writes to
guest memory that are outside the scope of KVM: if userspace modifies
the guest PTE, and then the guest hits a relevant page fault, KVM will
get confused.
----------------------------------------------------------------
Claudio Imbrenda (10):
KVM: s390: vsie: Fix dat_split_ste()
KVM: s390: Remove non-atomic dat_crstep_xchg()
KVM: s390: vsie: Fix check for pre-existing shadow mapping
KVM: s390: Fix gmap_link()
KVM: s390: Correctly handle guest mappings without struct page
KVM: s390: vsie: Fix nested guest memory shadowing
KVM: s390: vsie: Fix refcount overflow for shadow gmaps
KVM: s390: vsie: Fix unshadowing while shadowing
KVM: s390: vsie: Fix guest page tables protection
KVM: s390: Fix KVM_S390_VCPU_FAULT ioctl
Paolo Bonzini (1):
Merge tag 'kvm-s390-master-7.0-2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
Sean Christopherson (2):
KVM: x86/mmu: Drop/zap existing present SPTE even when creating an MMIO SPTE
KVM: x86/mmu: Only WARN in direct MMUs when overwriting shadow-present SPTE
arch/s390/kvm/dat.c | 100 +++++------------------------
arch/s390/kvm/dat.h | 23 +++----
arch/s390/kvm/gaccess.c | 71 +++++++++++++++------
arch/s390/kvm/gmap.c | 160 +++++++++++++++++++++++++++++++++--------------
arch/s390/kvm/gmap.h | 33 ++++++----
arch/s390/kvm/kvm-s390.c | 18 +++++-
arch/s390/kvm/vsie.c | 4 +-
arch/x86/kvm/mmu/mmu.c | 17 ++---
8 files changed, 241 insertions(+), 185 deletions(-)