Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'kvm-s390-kernel-access' from emailed bundle

Pull s390 kvm fix from Christian Borntraeger:
"Add missing check for the MEMOP ioctl

The SIDA MEMOPs must only be used for secure guests, otherwise
userspace can do unwanted memory accesses"

* tag 'kvm-s390-kernel-access' from emailed bundle:
KVM: s390: Return error on SIDA memop on normal guest

+2
+2
arch/s390/kvm/kvm-s390.c
··· 4667 4667 return -EINVAL; 4668 4668 if (mop->size + mop->sida_offset > sida_size(vcpu->arch.sie_block)) 4669 4669 return -E2BIG; 4670 + if (!kvm_s390_pv_cpu_is_protected(vcpu)) 4671 + return -EINVAL; 4670 4672 4671 4673 switch (mop->op) { 4672 4674 case KVM_S390_MEMOP_SIDA_READ: