Kernel Kit / Infix / v26.10.0latest
CVE-2026-98355
—unknownlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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.
Published 2026-10-06NVD
The RTRS (RDMA transport) client and server that this CVE concerns are not compiled into the Infix x86_64 kernel. CONFIG_INFINIBAND is not set, so the whole drivers/infiniband/ directory is skipped and rtrs-client / rtrs-server do not exist as built-in code or modules.
The source in the tree is the unfixed version: both trace headers still copy from kobject_name() without a NULL check, and no applied patch touches RTRS. The verdict therefore rests only on the feature being disabled, and would change if InfiniBand/RDMA support were ever enabled in the kernel config.
Evidence 11
`# CONFIG_INFINIBAND is not set`; no `CONFIG_INFINIBAND_RTRS*`, `CONFIG_RDMA*` or `CONFIG_BLK_DEV_RNBD*` symbols appear in the kernel config.
output/build/linux-6.18.60/.config:3674
No match for `INFINIBAND` or `RTRS`, so the defconfig does not request the feature.
board/x86_64/linux_defconfig
`obj-$(CONFIG_INFINIBAND) += infiniband/` — the whole directory is only descended into when `CONFIG_INFINIBAND` is enabled.
output/build/linux-6.18.60/drivers/Makefile:136
`obj-$(CONFIG_INFINIBAND_RTRS) += rtrs/` — second guard on the RTRS directory.
output/build/linux-6.18.60/drivers/infiniband/ulp/Makefile:8
`rtrs-clt-trace.o` and `rtrs-srv-trace.o` are only built as part of `rtrs-client.o` / `rtrs-server.o`, guarded by `CONFIG_INFINIBAND_RTRS_CLIENT` / `CONFIG_INFINIBAND_RTRS_SERVER`.
output/build/linux-6.18.60/drivers/infiniband/ulp/rtrs/Makefile:19-21
All three RTRS symbols depend on `INFINIBAND_ADDR_TRANS`, which cannot be set without `INFINIBAND`.
output/build/linux-6.18.60/drivers/infiniband/ulp/rtrs/Kconfig:3-21
Zero symbols containing `rtrs`; nothing from RTRS is linked into `vmlinux`.
output/build/linux-6.18.60/System.map
Zero entries matching `infiniband` or `rtrs`; no built-in or loadable RTRS module was produced.
output/build/linux-6.18.60/modules.builtin, output/build/linux-6.18.60/modules.order
Unfixed code is present in source: `memcpy(__entry->sessname, kobject_name(&clt_path->kobj), NAME_MAX);` with no NULL guard.
output/build/linux-6.18.60/drivers/infiniband/ulp/rtrs/rtrs-clt-trace.h:58
Same unguarded `memcpy` from `kobject_name(&srv_path->kobj)` on the server side.
output/build/linux-6.18.60/drivers/infiniband/ulp/rtrs/rtrs-srv-trace.h:64
`BR2_LINUX_KERNEL=y` and `BR2_LINUX_KERNEL_VERSION="6.18.60"` — the kernel package itself is selected for the target; `output/build/linux-6.18.60/Makefile:2-4` confirms 6.18.60.
output/.config:445,455
Version and patches
The source tree is 6.18.60 (output/build/linux-6.18.60/Makefile:2-4) and does not contain the fix: both trace headers still do the unguarded memcpy from kobject_name(). A search of output/build/linux-6.18.60/.applied_patches_list for rtrs, rdma and infiniband returned nothing, so no applied patch addresses it.
I had no network access to read the upstream commits or the CNA record, so the exact affected range and the fixed stable version are not confirmed. The version match to 6.18.60 looks plausible, which is why this is NOT_AFFECTED (feature not compiled) and not FALSE_POSITIVE.
Recommendation
Document as not applicable for the x86_64 build: the RTRS code is not compiled because CONFIG_INFINIBAND is not set. No backport is needed.
The fix will arrive with a later 6.18.y stable bump. Re-review if CONFIG_INFINIBAND with CONFIG_INFINIBAND_RTRS_CLIENT or CONFIG_INFINIBAND_RTRS_SERVER (or CONFIG_BLK_DEV_RNBD_*, which selects them) is ever enabled.
Open questions
This review covers only the x86_64 build named in the brief (board/x86_64/linux_defconfig and its resulting .config). Kernel configs for other Infix board targets were not checked.
A direct listing of object files under drivers/infiniband/ was not possible, because the sandbox refused that command. The absence of built RTRS code is instead shown by System.map, modules.builtin and modules.order.
The upstream affected range and fixed version were not verified, as noted in the version check.
Members of Kernel Kit decide. Sign in if you are one.