Revision abec6561fc4e0fbb19591a0b35676d8c783b5493 authored by Lv Yunlong on 11 March 2021, 05:44:13 UTC, committed by Christoph Hellwig on 11 March 2021, 10:48:35 UTC
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>
1 parent 0ec84df
History
File Mode Size
Build -rw-r--r-- 23 bytes
Makefile -rw-r--r-- 1.4 KB
pcitest.c -rw-r--r-- 5.7 KB
pcitest.sh -rw-r--r-- 824 bytes

back to top