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

CVE-2026-68417: Linux Kernel Privilege Escalation Flaw

CVE-2026-68417 is a privilege escalation vulnerability in the Linux kernel's RDMA/siw component that allows access to incompletely initialized QPs. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2026-68417 Overview

CVE-2026-68417 is a race condition vulnerability in the Linux kernel's Software iWARP (siw) driver, part of the RDMA (Remote Direct Memory Access) subsystem. The flaw exists in siw_create_qp(), which publishes a Queue Pair (QP) to the lookup table via siw_qp_add() before initializing the queues, Completion Queue (CQ) pointers, state, completion structures, and device list entry. A concurrent QP Number (QPN) lookup can therefore reach a QP that is still under construction, leading to use of uninitialized fields.

Critical Impact

Local attackers with access to the RDMA/siw interface can trigger the race window to access a partially initialized QP, potentially causing kernel memory corruption, denial of service, or privilege escalation.

Affected Products

  • Linux kernel versions containing the siw (Software iWARP) driver prior to the fix commits
  • Distributions shipping affected stable and mainline kernels with RDMA/siw enabled
  • Systems where the siw kernel module can be loaded by local users

Discovery Timeline

  • 2026-08-10 - CVE-2026-68417 published to NVD
  • 2026-08-13 - Last updated in NVD database

Technical Details for CVE-2026-68417

Vulnerability Analysis

The vulnerability is a Time-of-Check Time-of-Use (TOCTOU) style race condition [CWE-362] in the RDMA siw driver. siw_create_qp() inserts a new QP into the driver's lookup structures via siw_qp_add() before the QP object is fully constructed. Between insertion and completion of initialization, another kernel thread performing a QPN-based lookup can obtain a reference to the QP and dereference fields such as the send/receive queues, CQ pointers, or state variables while they still hold uninitialized or partially populated values.

Exploitation from a local, low-privilege context can corrupt kernel memory or trigger a NULL pointer dereference. Because the affected structures include function pointers and queue metadata, an attacker who reliably wins the race can influence kernel execution flow, matching the confidentiality, integrity, and availability impact reflected in the CVSS metrics.

Root Cause

The root cause is ordering: siw_qp_add() publishes the QP to a globally reachable lookup table before the caller finishes populating the object. Any concurrent lookup that resolves the QPN receives a pointer to an object whose invariants are not yet established.

Attack Vector

The attack vector is local. An attacker with the ability to issue RDMA verbs against a siw device (typically an unprivileged user with access to /dev/infiniband/uverbs* or equivalent) creates QPs while a second thread races to look them up by QPN. Successful races expose uninitialized queue and CQ pointers to the lookup path. No user interaction is required, and no exploit code has been published for this issue.

See the upstream fix in Kernel Commit 36e91a5 and Kernel Commit 74912ad for the technical details of the reordering.

Detection Methods for CVE-2026-68417

Indicators of Compromise

  • Kernel oops, warnings, or panics originating in siw_qp_add, siw_qp_get, or related drivers/infiniband/sw/siw/ functions
  • Unexpected NULL pointer dereferences or invalid opcode traps referencing siw_* symbols in dmesg output
  • Repeated QP creation and destruction bursts from an unprivileged user against the siw interface

Detection Strategies

  • Audit for loading of the siw kernel module (modprobe siw, lsmod | grep siw) on systems that do not require Software iWARP
  • Monitor /dev/infiniband/uverbs* access by non-root users and correlate with QP creation activity
  • Enable kernel lockdep, KASAN, or slab debugging in test environments to surface use-of-uninitialized-memory events in the siw driver

Monitoring Recommendations

  • Collect kernel logs centrally and alert on stack traces containing siw_create_qp, siw_qp_add, or siw_qp_get
  • Track unusual RDMA verb call volumes from local processes using auditd rules on the InfiniBand uverbs devices
  • Baseline the set of hosts that legitimately load siw and alert on unexpected module loads

How to Mitigate CVE-2026-68417

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced by commits 36e91a5, 52f9fcb, 74912ad, bb27fcc, and fcc9d50 or update to a distribution kernel that includes them
  • Where siw is not needed, blacklist the module to remove the attack surface entirely
  • Restrict access to /dev/infiniband/uverbs* to trusted users and services only

Patch Information

The fix moves siw_qp_add() to the end of siw_create_qp(), after QP initialization completes and before the QP is added to the siw device list. This ensures any successful QPN lookup returns a fully constructed object. The patch is available in the following stable tree commits: Kernel Commit 36e91a5, Kernel Commit 52f9fcb, Kernel Commit 74912ad, Kernel Commit bb27fcc, and Kernel Commit fcc9d50.

Workarounds

  • Blacklist the siw module via /etc/modprobe.d/blacklist-siw.conf on hosts that do not use Software iWARP
  • Remove or tighten permissions on RDMA user-verbs device nodes so only privileged services can create QPs
  • Restrict container and VM workloads from loading kernel modules by enforcing appropriate capabilities (drop CAP_SYS_MODULE)
bash
# Configuration example: disable the siw module on systems that do not need it
echo 'blacklist siw' | sudo tee /etc/modprobe.d/blacklist-siw.conf
sudo rmmod siw 2>/dev/null || true
sudo update-initramfs -u

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.