Re: [PATCH] RDMA/srp: fix use-after-free of a request in srp_destroy_qp()

From: Yehyeong Lee

Date: Mon Aug 17 2026 - 23:56:50 EST


On 8/15/26 2:30 AM, Bart Van Assche wrote:
> Can this crash also be fixed by modifying srp_remove_target() as shown
> below?

It can - 5 of 5 runs without it, 0 of 5 with it. I sent a v2 series that
carries your patch as 2/2 next to mine:

https://lore.kernel.org/linux-rdma/20260818035229.505098-1-yhlee@xxxxxxxxxxxxxxxxxx/

Best regards,

Yehyeong Lee