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

CVE-2026-98358: Linux Kernel IB/iser Buffer Overflow Vulnerability

CVE-2026-98358 is a buffer overflow flaw in the Linux kernel IB/iser subsystem that causes null pointer dereference when remote invalidation is attempted on unregistered memory. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

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-98358 Overview

CVE-2026-98358 is a Linux kernel vulnerability in the iSCSI Extensions for RDMA (iSER) initiator driver. The flaw resides in iser_check_remote_inv(), which fails to validate whether a direction was ever registered before passing its descriptor to iser_inv_desc(). When a write command sends data entirely as immediate data, iser_reg_mem_fastreg() takes the DMA key path and leaves rdma_reg[ISER_DIR_OUT].desc set to NULL. A remote target that responds with IB_WR_SEND_WITH_INV triggers a NULL pointer dereference in the initiator, producing a general protection fault.

Critical Impact

A malicious or malfunctioning iSER target can crash the Linux initiator kernel through a crafted remote invalidation response, resulting in denial of service.

Affected Products

  • Linux kernel versions containing the IB/iser initiator driver prior to the fix commits
  • Systems using InfiniBand or RoCE fabrics with iSER storage initiators
  • Kernel builds exposing the rxe software RDMA transport

Discovery Timeline

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

Technical Details for CVE-2026-98358

Vulnerability Analysis

The vulnerability is a NULL pointer dereference [CWE-476] in the InfiniBand iSER initiator. The iSER protocol allows a target to piggyback a remote invalidation on its response using IB_WR_SEND_WITH_INV, releasing the initiator's memory region key. The initiator processes this invalidation inside iser_check_remote_inv().

For write commands whose data fits entirely as immediate data, the initiator intentionally skips fast-registration. iser_reg_mem_fastreg() takes the DMA key path and leaves rdma_reg[ISER_DIR_OUT].desc as NULL. However, iser_dma_map_task_data() has already populated the dir[ISER_DIR_OUT] entry.

When a target replies with a remote invalidation for that direction, iser_check_remote_inv() inspects only the dir[] array and passes the NULL descriptor to iser_inv_desc(). The callee reads desc->sig_protected, dereferencing NULL and raising a general protection fault detected by KASAN as a null-ptr-deref in the range [0x20-0x27].

Root Cause

The root cause is incomplete validation in iser_check_remote_inv(). The function checks that the direction has been mapped but does not verify that it was actually registered with a memory key. Unregistered directions carry a NULL desc pointer by design, and the invalidation handler accepts them without rejection.

Attack Vector

The attack vector is a remote iSER target on the storage fabric. An attacker controlling a target, or a compromised target responding to legitimate initiator traffic, can emit IB_WR_SEND_WITH_INV for a direction the initiator never registered. The crash occurs in softirq context during completion queue processing (__ib_process_cq), taking down the initiator host.

The patch extends existing logic that already terminates the connection on unsolicited remote invalidations. Invalidations against unregistered directions are now treated the same way. See the upstream fix in Kernel Patch 6ed3eba and related stable backports.

Detection Methods for CVE-2026-98358

Indicators of Compromise

  • Kernel oops entries referencing iser_task_rsp with KASAN null-ptr-deref in the 0x20-0x27 range
  • General protection faults originating from __ib_process_cq or ib_poll_handler in softirq context
  • Unexpected iSER session resets or storage path failures on InfiniBand or RoCE-connected hosts

Detection Strategies

  • Monitor dmesg and /var/log/messages for iser_task_rsp call-trace signatures matching the published oops
  • Inventory kernel versions on storage initiator hosts and compare against patched stable branches listed in the kernel.org advisory
  • Correlate iSER target IP addresses with hosts generating repeated initiator crashes to identify suspect peers

Monitoring Recommendations

  • Forward kernel ring buffer messages to a centralized log platform and alert on iser_ symbol crashes
  • Track RDMA connection manager events for abnormal SEND_WITH_INV patterns from storage targets
  • Baseline iSER session lifetimes and alert on sudden drops indicating initiator-side faults

How to Mitigate CVE-2026-98358

Immediate Actions Required

  • Apply the upstream kernel patches to all Linux hosts running iSER initiators against untrusted or multi-tenant storage fabrics
  • Restrict iSER target reachability to trusted storage subnets using RDMA partition keys or network segmentation
  • Audit storage initiator hosts for the vulnerable iser_check_remote_inv() code path and prioritize patching

Patch Information

The fix has been merged to mainline and backported to multiple stable branches. Refer to the commits 198e4db9, 19ddd4af, 6ed3eba, 9d145a2d, b4d278c9, b9e37452, ceecf3f9, and d85f0f0a. The patch rejects remote invalidations for directions that were never registered and terminates the connection.

Workarounds

  • Disable the ib_iser module on hosts that do not require iSER storage connectivity: modprobe -r ib_iser
  • Limit storage traffic to trusted targets via RDMA access control and VLAN or subnet isolation
  • Use alternative storage transports such as iSCSI over TCP where immediate migration from iSER is feasible

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.