linux/drivers/nvme/target
Lv Yunlong abec6561fc nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done
In nvmet_rdma_write_data_done, rsp is recoverd by wc->wr_cqe and freed by
nvmet_rdma_release_rsp(). But after that, pr_info() used the freed
chunk's member object and could leak the freed chunk address with
wc->wr_cqe by computing the offset.

Signed-off-by: Lv Yunlong <lyl2019@mail.ustc.edu.cn>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-03-11 11:48:35 +01:00
..
admin-cmd.c nvmet: model_number must be immutable once set 2021-03-05 13:41:03 +01:00
configfs.c nvmet: model_number must be immutable once set 2021-03-05 13:41:03 +01:00
core.c nvmet: model_number must be immutable once set 2021-03-05 13:41:03 +01:00
discovery.c nvmet: make sure discovery change log event is protected 2020-12-01 20:36:37 +01:00
fabrics-cmd.c nvmet: add metadata/T10-PI support 2020-05-27 07:12:40 +02:00
fc.c nvmet-fc: add a missing __rcu annotation to nvmet_fc_tgt_assoc.queues 2021-02-10 16:38:04 +01:00
fcloop.c nvme: constify static attribute_group structs 2021-02-02 10:26:10 +01:00
io-cmd-bdev.c block: Add bio_max_segs 2021-02-26 15:49:51 -07:00
io-cmd-file.c nvmet: use invalid cmd opcode helper 2021-02-10 16:38:05 +01:00
Kconfig nvmet: fix a spelling mistake "incuding" -> "including" in Kconfig 2020-12-01 20:36:37 +01:00
loop.c for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
Makefile nvmet: add passthru code to process commands 2020-07-29 07:45:21 +02:00
nvmet.h nvmet: model_number must be immutable once set 2021-03-05 13:41:03 +01:00
passthru.c block: Add bio_max_segs 2021-02-26 15:49:51 -07:00
rdma.c nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done 2021-03-11 11:48:35 +01:00
tcp.c for-5.12/drivers-2021-02-17 2021-02-21 11:06:54 -08:00
trace.c nvmet: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvmet: use min of device_path and disk len 2021-02-10 16:38:05 +01:00