Re: [PATCH V3] nvme-rdma: stop queue first before free it in config admin queue
Thanks, applied to nvme-4.18.
[PATCH V3] nvme-rdma: stop queue first before free it in config admin queue
When any of cases after nvme_rdma_start_queue in nvme_rdma_configure_admin_queue fails, the ctrl->queues[0] will be freed but the NVME_RDMA_Q_LIVE is still set. If nvme_rdma_stop_queue is invoked, we will incur use-after-free which will cause memory corruption. BUG: KASAN: use-after-free in rdma_di