linux-stable/drivers/s390
Vineeth Vijayan fe990b7bf6 s390/cio: verify the driver availability for path_event call
commit dd9cb842fa upstream.

If no driver is attached to a device or the driver does not provide the
path_event function, an FCES path-event on this device could end up in a
kernel-panic. Verify the driver availability before the path_event
function call.

Fixes: 32ef938815 ("s390/cio: Add support for FCES status notification")
Cc: stable@vger.kernel.org
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-16 12:56:38 +01:00
..
block 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
char s390/tape: fix timer initialization in tape_std_assign() 2021-11-18 19:17:17 +01:00
cio s390/cio: verify the driver availability for path_event call 2022-02-16 12:56:38 +01:00
crypto s390/ap: Fix hanging ioctl caused by orphaned replies 2021-11-18 19:17:17 +01:00
net s390/qeth: fix deadlock during failing recovery 2021-09-21 20:02:24 -07:00
scsi scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices 2022-02-01 17:27:00 +01:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile