kernel_samsung_a53x/drivers/nvme/target
Hannes Reinecke 38b938dfc1 nvmet-tcp: do not continue for invalid icreq
[ Upstream commit 0889d13b9e1cbef49e802ae09f3b516911ad82a1 ]

When the length check for an icreq sqe fails we should not
continue processing but rather return immediately as all
other contents of that sqe cannot be relied on.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:46 +01:00
..
admin-cmd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
configfs.c nvmet: fix ns enable/disable possible hang 2024-11-19 12:27:10 +01:00
core.c nvmet: fix a possible leak when destroy a ctrl during qp establishment 2024-11-19 14:19:43 +01:00
discovery.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fabrics-cmd.c nvmet: nul-terminate the NQNs passed in the connect command 2024-11-18 12:10:55 +01:00
fc.c nvmet-fc: abort command when there is no binding 2024-11-18 22:25:33 +01:00
fcloop.c nvmet-fcloop: swap the list_add_tail arguments 2024-11-18 22:25:33 +01:00
io-cmd-bdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io-cmd-file.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
loop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvmet.h nvmet: remove unnecessary ctrl parameter 2024-11-18 12:10:55 +01:00
passthru.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rdma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tcp.c nvmet-tcp: do not continue for invalid icreq 2024-11-23 23:20:46 +01:00
trace.c nvmet-trace: avoid dereferencing pointer too early 2024-11-23 23:20:45 +01:00
trace.h nvmet-trace: avoid dereferencing pointer too early 2024-11-23 23:20:45 +01:00