linux/drivers/s390
Alexander Egorenkov d76b14f397 s390/sclp: fix Secure-IPL facility detection
Prevent out-of-range access if the returned SCLP SCCB response is smaller
in size than the address of the Secure-IPL flag.

Fixes: c9896acc78 ("s390/ipl: Provide has_secure sysfs attribute")
Cc: stable@vger.kernel.org # 5.2+
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-09-15 14:29:21 +02:00
..
block 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
char s390/sclp: fix Secure-IPL facility detection 2021-09-15 14:29:21 +02:00
cio 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
crypto 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
net Core: 2021-08-31 16:43:06 -07:00
scsi 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00