[PATCH v2 0/7] KVM: s390: more fixes

Christian Borntraeger <[email protected]> Tue, 4 Aug 2026 18:24:28 +0200
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-s390
Message-ID <[email protected]>
v1->v2: several sashiko reports added
- machine check stack exposure
- extend zeroing to pfault done interrupts
- old_data leak
- srcu protection missing
- guest debug allocations not freed on destroy
- uppercase patch title

The comment about double free in kvm_s390_reinject_machine_check from
sashiko is technically not wrong, but this needs further rework.  We do
not want to forward channel subsystem damage to our guests and we
actually do not expect to see those in the wild. 

Christian Borntraeger (7):
  KVM: s390: Remove user triggerable WARN_ON
  KVM: s390: Zero initialize data structures for inject_pfault_token
  KVM: s390: Zero initialize irq in reinject_machine_check
  KVM: s390: Fix memory leak in guest debug handling
  KVM: s390: Fix old_data leak in guest debug error path
  KVM: s390: Take srcu when importing watchpoint data
  KVM: s390: Free guest debug data on vcpu destroy

 arch/s390/kvm/guestdbg.c  |  7 ++++++-
 arch/s390/kvm/interrupt.c |  4 ++--
 arch/s390/kvm/kvm-s390.c  | 11 +++++++----
 3 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.53.0