Re: [PATCH] RDMA/irdma: avoid use-after-free in icrdma_remove

From: Leon Romanovsky

Date: Tue Sep 22 2026 - 09:40:47 EST



On Mon, 14 Sep 2026 20:28:40 +0800, Guangshuo Li wrote:
> icrdma_remove() dereferences iwdev after calling
> irdma_ib_unregister_device():
>
> irdma_ib_unregister_device(iwdev)
> -> ib_unregister_device(&iwdev->ibdev)
> -> __ib_unregister_device()
> -> ib_dealloc_device()
>
> [...]

Applied, thanks!

[1/1] RDMA/irdma: avoid use-after-free in icrdma_remove
https://git.kernel.org/rdma/rdma/c/8a8088b899e4cd

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>