summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@linux.ibm.com>2026-08-06 16:58:35 +0200
committerClaudio Imbrenda <imbrenda@linux.ibm.com>2026-08-11 10:45:56 +0200
commit546dde823a36d7283dcf46127c2f3d093443860f (patch)
tree32592f0d149cb02503c1afce1c200ec64b623dba /scripts/checkstack.pl
parent4400270ec0348d05dc0439d8f0130853ce7f9e20 (diff)
downloadlinux-546dde823a36d7283dcf46127c2f3d093443860f.tar.gz
linux-546dde823a36d7283dcf46127c2f3d093443860f.zip
KVM: s390: Fix memory corruption by not reinjecting CK machine checks
Channel-subsystem damage machine checks are for the host channel subsystem. The guest channel subsystem is emulated in the userspace VMM. There is no point in forwarding such machine checks into the guest. This also simplifies the machine check reinjection and avoids kfree of a stack variable as reported by sashiko. There might be still machine checks that have the ck bit set with another bit (like instruction damage), mask out the CK bit in s390_backup_mcck_info(), like the CP and ED bits already are. Fixes: 4d62fcc0b692 ("KVM: s390: Inject machine check into the guest") Cc: stable@vger.kernel.org Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Message-ID: <20260806145835.31818-1-borntraeger@linux.ibm.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions