linux-brain/drivers/s390
Alexander Egorenkov fde4caf6fe 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:26:40 +02:00
..
block s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 17:03:48 +01:00
char s390/sclp: fix Secure-IPL facility detection 2021-09-22 12:26:40 +02:00
cio s390/cio: add dev_busid sysfs entry for each subchannel 2021-09-15 09:47:27 +02:00
crypto s390/crypto: return -EFAULT if copy_to_user() fails 2021-03-17 17:03:39 +01:00
net s390/qeth: fix L2 header access in qeth_l3_osa_features_check() 2021-01-17 14:05:32 +01:00
scsi scsi: zfcp: Fix use-after-free in request timeout handlers 2020-08-26 10:40:52 +02:00
virtio virtio/s390: implement virtio-ccw revision 2 correctly 2021-03-04 10:26:50 +01:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00