Skip to contentSkip to conversation

CVE-2026-98355: RDMA/rtrs: guard against null kobj name

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-98355 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.1 with commit 5a93929d9f9a1d82946ddd49e260b6dd1756ad6d and fixed in 7.2.8 with commit f79cf42ff23f9120246cd6740eaa26f59c632a4a
	Issue introduced in 6.1 with commit 5a93929d9f9a1d82946ddd49e260b6dd1756ad6d and fixed in 7.3-rc4 with commit 99c24a8968ebef0573825b5cb89d5985d51635b9

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98355

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/infiniband/ulp/rtrs/rtrs-clt-trace.h drivers/infiniband/ulp/rtrs/rtrs-srv-trace.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/f79cf42ff23f9120246cd6740eaa26f59c632a4a
	https://git.kernel.org/stable/c/99c24a8968ebef0573825b5cb89d5985d51635b9