Skip to main content
Vulnerability Database/CVE-2026-98355

CVE-2026-98355: Linux Kernel RDMA Use-After-Free Vulnerability

CVE-2026-98355 is a use-after-free flaw in the Linux kernel RDMA subsystem that can cause null pointer dereference during connection cleanup. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98355 Overview

CVE-2026-98355 is a null pointer dereference vulnerability in the Linux kernel's RDMA/rtrs (Remote Direct Memory Access Transport) subsystem. The flaw resides in the client-side cleanup path. When init_path() fails, the callee invokes rtrs_clt_close_conns() to clean up resources. During cleanup, the event tracing code attempts to copy from clt_path->kobj->name, which can be NULL at that stage. Copying from a null kobject name triggers a null pointer dereference inside the kernel. The upstream fix adds a guard to verify the name is non-null before accessing it. A similar pattern exists on the server side.

Critical Impact

An unsuccessful RDMA transport path initialization can crash the kernel through a null pointer dereference in event tracing code, resulting in denial of service on affected systems.

Affected Products

  • Linux kernel (RDMA/rtrs subsystem, client component)
  • Linux kernel builds with RDMA transport tracing enabled
  • Downstream distributions shipping the vulnerable rtrs client code

Discovery Timeline

  • 2026-10-06 - CVE-2026-98355 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-98355

Vulnerability Analysis

The RDMA/rtrs client manages transport paths between client and server nodes over RDMA fabrics. Each path is represented by a clt_path structure that holds a kobject for sysfs integration. The kobject name is populated after successful path initialization. When init_path() fails before the name is assigned, the error handler calls rtrs_clt_close_conns() to release the half-initialized path. Event tracing hooks embedded in the close path then attempt to copy clt_path->kobj->name into a trace buffer. Because the name pointer remains NULL, the trace infrastructure dereferences a null address and the kernel oopses.

This class of bug falls under null pointer dereference and leads to kernel denial of service. The fix is minimal: a conditional check guards the copy operation so that a NULL name is handled safely rather than dereferenced.

Root Cause

The root cause is an ordering assumption between object initialization and tracepoint emission. The event tracing callback assumes clt_path->kobj->name is always valid, but the error path reaches tracing before kobject_init_and_add() populates the name. No defensive check protected the copy from a null name pointer.

Attack Vector

The vulnerability is reachable only through the kernel's RDMA/rtrs client path, which is exercised during transport setup. Any condition that causes init_path() to fail, such as resource exhaustion, misconfiguration, or an unreachable server, drives execution through the vulnerable cleanup path. On systems with event tracing active for rtrs, the dereference occurs and crashes the kernel. Exploitation requires local privileges capable of triggering RDMA path initialization or an environment where remote conditions can force init_path() failures.

// No verified exploit code is available for CVE-2026-98355.
// Refer to the upstream patches linked in the references for the fix diff.

Detection Methods for CVE-2026-98355

Indicators of Compromise

  • Kernel oops or panic messages referencing rtrs_clt_close_conns or init_path in dmesg and /var/log/kern.log.
  • Null pointer dereference stack traces that include RDMA tracepoint functions touching clt_path->kobj->name.
  • Repeated RDMA transport path setup failures preceding kernel instability.

Detection Strategies

  • Inventory Linux hosts running RDMA workloads and verify kernel versions against the fixed commits 99c24a8968eb and f79cf42ff23f.
  • Correlate kernel crash telemetry with RDMA module loads (rtrs_client, rtrs_core) to identify affected systems.
  • Review tracing configurations that enable rtrs events on production hosts.

Monitoring Recommendations

  • Forward kernel logs to a centralized logging platform and alert on BUG: kernel NULL pointer dereference entries that reference RDMA symbols.
  • Monitor host availability metrics for unexpected reboots on nodes running NVMe-over-Fabrics or block storage over rtrs.
  • Track RDMA path setup error rates to detect conditions that could trigger the cleanup path.

How to Mitigate CVE-2026-98355

Immediate Actions Required

  • Apply the upstream kernel patches referenced in commit 99c24a8968eb and commit f79cf42ff23f.
  • Update to a distribution kernel that incorporates the RDMA/rtrs: guard against null kobj name fix.
  • Restrict local access to systems running RDMA workloads until patched.

Patch Information

The fix adds a guard that validates clt_path->kobj->name before copying from it in the event tracing path. The patch is available in the stable kernel tree under the two commits listed above. Distribution vendors typically backport such fixes to their supported long-term kernel branches. Verify the running kernel version with uname -r and confirm the patch is present in the vendor's changelog.

Workarounds

  • Disable rtrs client event tracing where feasible to avoid executing the vulnerable code path.
  • Unload the rtrs_client kernel module on hosts that do not require RDMA transport until patches are applied.
  • Investigate and resolve recurring init_path() failure conditions to reduce exposure to the cleanup path.
bash
# Verify running kernel and check for the rtrs module
uname -r
lsmod | grep rtrs

# Disable rtrs tracepoints at runtime (requires root)
echo 0 > /sys/kernel/debug/tracing/events/rtrs/enable

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.