diff options
author | 2023-08-17 12:43:01 -0700 | |
---|---|---|
committer | 2023-08-21 13:29:17 -0700 | |
commit | 8ae5b3a685dc59a8cf7ccfe0e850999ba9727a3c (patch) | |
tree | 975996548735e899b1ffd015b776e64ef4086bc3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: host: hwmon: constify pointers to hwmon_channel_info (diff) | |
download | wireguard-linux-8ae5b3a685dc59a8cf7ccfe0e850999ba9727a3c.tar.xz wireguard-linux-8ae5b3a685dc59a8cf7ccfe0e850999ba9727a3c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions