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

CVE-2026-97409: Linux Kernel NVMe-FC Privilege Escalation

CVE-2026-97409 is a privilege escalation vulnerability in the Linux kernel NVMe-FC driver that causes crashes when aborting requests on uninitialized tagsets. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-97409 is a Linux kernel vulnerability in the NVMe over Fibre Channel (nvme-fc) driver. The flaw occurs when a new nvme-fc controller in the CONNECTING state experiences an admin request timeout. The timeout schedules ctrl->ioerr_work, which calls __nvme_fc_abort_outstanding_ios() and attempts to iterate over I/O tagset requests before the I/O tagset has been initialized. This triggers a lockdep warning and references uninitialized kernel structures during error recovery.

Critical Impact

Attackers on an adjacent network can trigger kernel-side error paths that operate on uninitialized tagset structures, leading to kernel instability, denial of service, and potential compromise of host integrity on systems using NVMe over Fibre Channel transport.

Affected Products

  • Linux kernel nvme-fc driver (NVMe over Fibre Channel transport)
  • Linux distributions shipping affected mainline kernels prior to the fix commits
  • Storage hosts using Fibre Channel HBAs such as lpfc with NVMe-FC enabled

Discovery Timeline

  • 2026-09-24 - CVE-2026-97409 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97409

Vulnerability Analysis

The vulnerability lives in the nvme-fc controller error recovery path. When a controller is in the CONNECTING state, ctrl.queue_count is initialized early during nvme_fc_alloc_ctrl(). However, the I/O tagset (fc_ctrl->tag_set) is not yet created at that point. An admin queue connect failure (for example, lpfc reporting queue 0 connect admin queue failed (-6)) schedules ctrl->ioerr_work, which executes nvme_fc_ctrl_ioerr_work() and then __nvme_fc_abort_outstanding_ios().

That function calls blk_mq_tagset_busy_iter() against both admin and I/O tagsets. Iterating the uninitialized I/O tagset accesses non-static lock keys that have never been registered, producing the lockdep warning trying to register non-static key and disabling the lock validator. The faulty access path operates on memory that has not been properly initialized, which can destabilize storage subsystems during connectivity loss events.

Root Cause

The root cause is a missing initialization check in __nvme_fc_abort_outstanding_ios(). The code assumed the I/O tagset existed whenever ctrl.queue_count was non-zero, but queue count is set earlier in controller allocation than tagset creation. A secondary issue is the lack of cancellation of ctrl->ioerr_work before the I/O tagset is removed, creating a race with teardown.

Attack Vector

The attack vector requires adjacent network access to the Fibre Channel fabric. An attacker able to induce connectivity loss or admin command timeouts on a target NVMe-FC initiator can force the controller into the vulnerable CONNECTING-with-timeout state. Repeated connect failures from a malicious or misbehaving target can be used to deterministically trigger the error recovery path before tagset initialization completes.

No verified public exploit code is available. The vulnerability mechanics are described in the upstream commits da930308b4bc, dd39064d2948, and ee38469f8849.

Detection Methods for CVE-2026-97409

Indicators of Compromise

  • Kernel log entries containing NVME-FC{N}: starting error recovery Connectivity Loss followed closely by trying to register non-static key.
  • Stack traces in dmesg referencing __nvme_fc_abort_outstanding_ios, nvme_fc_ctrl_ioerr_work, and blk_mq_tagset_busy_iter on the nvme-reset-wq workqueue.
  • Repeated queue 0 connect admin queue failed messages from Fibre Channel HBA drivers such as lpfc or qla2xxx.

Detection Strategies

  • Monitor /var/log/messages and journalctl -k for the lockdep warning signature combined with NVMe-FC error recovery entries.
  • Correlate Fibre Channel link flap events with concurrent kernel warnings on initiator hosts to identify systems hitting the race.
  • Audit host kernel versions across storage fleets to flag initiators running vulnerable nvme-fc builds.

Monitoring Recommendations

  • Enable persistent kernel log collection and forward kernel ring buffer data to a central SIEM for longitudinal analysis.
  • Alert on any WARNING or BUG entries referencing the nvme_fc module across production storage hosts.
  • Track Fibre Channel fabric events and NVMe subsystem reconnect counters to surface anomalous reconnection storms.

How to Mitigate CVE-2026-97409

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in commits da930308b4bc, dd39064d2948, and ee38469f8849 as soon as vendor builds are available.
  • Inventory all hosts using NVMe over Fibre Channel and prioritize those with unstable fabric connectivity for patching.
  • Restrict administrative access to Fibre Channel fabrics and management interfaces to trusted operators only.

Patch Information

The fix updates the check in __nvme_fc_abort_outstanding_ios() to confirm the I/O tagset was created before iterating over busy requests. It also ensures ctrl->ioerr_work is canceled before the I/O tagset is removed, closing the teardown race. Distribution kernels should pick up the backports from the stable tree commits listed in the external references.

Workarounds

  • Where feasible, disable the nvme-fc module on hosts that do not require NVMe over Fibre Channel until patched kernels are deployed.
  • Stabilize the Fibre Channel fabric to reduce connectivity loss events that trigger the vulnerable error recovery path.
  • Apply strict zoning and LUN masking to limit which targets a vulnerable initiator will attempt to connect to.
bash
# Verify whether the nvme-fc module is loaded and in use
lsmod | grep nvme_fc

# If NVMe-FC is not required, prevent the module from loading
echo 'blacklist nvme_fc' | sudo tee /etc/modprobe.d/blacklist-nvme-fc.conf
sudo update-initramfs -u

# Check current kernel version against distribution advisories
uname -r

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.