kernel_optimize_test/drivers/s390
Alexander Egorenkov 0346f8a2c5 s390/sclp: fix Secure-IPL facility detection
commit d76b14f3971a0638b6cd0da289f8b48acee287d0 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 12:27:56 +02:00
..
block s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 17:06:28 +01:00
char s390/sclp: fix Secure-IPL facility detection 2021-09-22 12:27:56 +02:00
cio s390/qdio: cancel the ESTABLISH ccw after timeout 2021-09-18 13:40:09 +02:00
crypto s390/ap: fix state machine hang after failure to enable irq 2021-09-15 09:50:27 +02:00
net s390/qeth: schedule TX NAPI on QAOB completion 2021-03-25 09:04:13 +01:00
scsi scsi: zfcp: Report port fc_security as unknown early during remote cable pull 2021-07-20 16:05:36 +02:00
virtio virtio/s390: implement virtio-ccw revision 2 correctly 2021-03-04 11:38:42 +01:00
Makefile