linux/drivers/nvme/host
Nigel Kirkland 8ae5b3a685 nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
The nvme_fc_fcp_op structure describing an AEN operation is initialized with a
null request structure pointer. An FC LLDD may make a call to
nvme_fc_io_getuuid passing a pointer to an nvmefc_fcp_req for an AEN operation.

Add validation of the request structure pointer before dereference.

Signed-off-by: Nigel Kirkland <nkirkland2304@gmail.com>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2023-08-21 13:29:17 -07:00
..
apple.c nvme-apple: return directly instead of else 2023-04-13 08:55:06 +02:00
auth.c nvmet: reorder fields in 'struct nvme_dhchap_queue_context' 2023-06-12 10:36:51 -07:00
constants.c nvme fixes for Linux 6.5 2023-06-30 14:04:08 -06:00
core.c nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices 2023-07-13 08:12:50 -07:00
fabrics.c nvme-fabrics: open code __nvmf_host_find() 2023-06-12 10:37:00 -07:00
fabrics.h nvme-fabrics: check hostid using uuid_equal 2023-06-12 10:36:58 -07:00
fault_inject.c nvme: fix parameter check in nvme_fault_inject_init() 2023-07-12 08:48:33 -07:00
fc.c nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid() 2023-08-21 13:29:17 -07:00
fc.h
hwmon.c nvme: host: hwmon: constify pointers to hwmon_channel_info 2023-08-21 12:54:02 -07:00
ioctl.c bio-integrity: update the payload size in bio_integrity_add_page() 2023-08-09 16:05:35 -06:00
Kconfig nvme-auth: Diffie-Hellman key exchange support 2022-08-02 17:14:49 -06:00
Makefile SCSI misc on 20230629 2023-06-30 11:57:07 -07:00
multipath.c nvme fixes for Linux 6.5 2023-06-30 14:04:08 -06:00
nvme.h block-6.5-2023-07-03 2023-07-03 18:48:38 -07:00
pci.c nvme-pci: fix DMA direction of unmapping integrity data 2023-07-13 08:16:07 -07:00
pr.c nvme: Add pr_ops read_reservation support 2023-04-11 21:55:36 -04:00
rdma.c nvme-fabrics: add queue setup helpers 2023-06-12 10:33:03 -07:00
sysfs.c nvme: warn only once for legacy uuid attribute 2023-07-12 08:48:19 -07:00
tcp.c nvme-tcp: Fix comma-related oops 2023-07-02 15:44:54 +01:00
trace.c
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c scsi: nvme: zns: Set zone limits before revalidating zones 2023-07-05 21:58:10 -04:00