linux/drivers/nvme
Daniel Wagner 0e716cec6f nvmet-trace: avoid dereferencing pointer too early
The first command issued from the host to the target is the fabrics
connect command. At this point, neither the target queue nor the
controller have been allocated. But we already try to trace this command
in nvmet_req_init.

Reported by KASAN.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2024-01-03 08:09:41 -08:00
..
common nvme-common: mark nvme_tls_psk_prio static 2024-01-03 08:09:40 -08:00
host nvme: simplify the max_discard_segments calculation 2024-01-03 08:09:40 -08:00
target nvmet-trace: avoid dereferencing pointer too early 2024-01-03 08:09:41 -08:00
Kconfig nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
Makefile nvme: common: make keyring and auth separate modules 2023-11-07 10:05:15 -08:00