RDMA/rtrs: guard against null kobj name
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Original description
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.
From the CVE record · Linux
References
- git.kernel.org/stable/c/f79cf42ff23f9120246cd6740eaa26f59c632a4a
- git.kernel.org/stable/c/99c24a8968ebef0573825b5cb89d5985d51635b9
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98355.json
- nvd.nist.gov/vuln/detail/CVE-2026-98355
- git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git