In the Linux kernel, the following vulnerability has been resolved: RDMA/rtrs: guard against null kobj name 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.
https://git.kernel.org/stable/c/f79cf42ff23f9120246cd6740eaa26f59c632a4a
https://git.kernel.org/stable/c/99c24a8968ebef0573825b5cb89d5985d51635b9