android_kernel_samsung_a7y1.../drivers/scsi/qla2xxx
Allen Pais b8de1b80bd scsi: qla2xxx: fix a potential NULL pointer dereference
commit 35a79a63517981a8aea395497c548776347deda8 upstream.

alloc_workqueue is not checked for errors and as a result a potential
NULL dereference could occur.

Link: https://lore.kernel.org/r/1568824618-4366-1-git-send-email-allen.pais@oracle.com
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
[Ajay: Rewrote this patch for v4.4.y, as 4.4.y codebase is different from mainline]
Signed-off-by: Ajay Kaher <akaher@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:55:29 +02:00
..
Kconfig
Makefile
qla_attr.c scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value 2020-04-07 13:08:02 +02:00
qla_bsg.c scsi: qla2xxx: Fix qla24xx_process_bidir_cmd() 2020-04-07 13:08:00 +02:00
qla_bsg.h
qla_dbg.c
qla_dbg.h
qla_def.h
qla_devtbl.h
qla_dfs.c
qla_fw.h
qla_gbl.h
qla_gs.c
qla_init.c
qla_inline.h
qla_iocb.c
qla_isr.c scsi: qla2xxx: Don't call qlt_async_event twice 2020-04-07 13:24:15 +02:00
qla_mbx.c scsi: qla2xxx: Fix mtcp dump collection failure 2020-04-07 13:49:55 +02:00
qla_mid.c
qla_mr.c
qla_mr.h
qla_nx.c scsi: qla2xxx: Fix the endianness of the qla82xx_get_fw_size() return type 2020-04-07 13:50:41 +02:00
qla_nx.h
qla_nx2.c
qla_nx2.h
qla_os.c scsi: qla2xxx: fix a potential NULL pointer dereference 2020-04-07 13:55:29 +02:00
qla_settings.h
qla_sup.c
qla_target.c scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value 2020-04-07 13:08:02 +02:00
qla_target.h
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c scsi: qla2xxx: deadlock by configfs_depend_item 2020-04-07 12:42:11 +02:00
tcm_qla2xxx.h scsi: qla2xxx: deadlock by configfs_depend_item 2020-04-07 12:42:11 +02:00