Re: [PATCH] RDMA/rtrs: guard against null kobj name
From: Leon Romanovsky
Date: Wed Sep 02 2026 - 09:33:11 EST
On Sat, 22 Aug 2026 23:33:43 -0400, Ryan Mehri wrote:
> In the client, if `init_path()` errors, the callee tries to clean up
> with `rtrs_clt_close_conns()`. However, this can lead to calling the
> event tracing code with `clt_path->kobj->name` being `NULL` and thus
> causing a null pointer dereference when trying to copy from it.
>
> This just adds a guard to check that the name is not `NULL` before
> copying from it. The server appears to have a similar pattern.
>
> [...]
Applied, thanks!
[1/1] RDMA/rtrs: guard against null kobj name
https://git.kernel.org/rdma/rdma/c/99c24a8968ebef
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>