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-97951 Overview
CVE-2026-97951 affects the Linux kernel SCSI target subsystem. The flaw lives in the iSCSI target code path that handles aborted WRITE commands stuck in the TRANSPORT_WRITE_PENDING state. When a LUN_RESET aborts such a command, the target core sets CMD_T_ABORTED and waits for the frontend to finish processing. The iSCSI target consumes any remaining dataout Protocol Data Units (PDUs) but never signals completion, causing target_put_cmd_and_wait() to block indefinitely. The result is a deadlocked target worker thread and a hung storage path on affected systems.
Critical Impact
An aborted WRITE command can deadlock the kernel iSCSI target worker thread, producing a denial of service condition on the storage target.
Affected Products
- Linux kernel iSCSI target subsystem (drivers/target/iscsi)
- SCSI target core (target_core_transport)
- Distributions shipping unpatched upstream kernels using LIO/iSCSI targets
Discovery Timeline
- 2026-09-25 - CVE-2026-97951 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97951
Vulnerability Analysis
The defect sits in the interaction between the SCSI target core and the iSCSI frontend during command abort processing. When a LUN_RESET arrives for a WRITE command that is in TRANSPORT_WRITE_PENDING, the core marks the command with CMD_T_ABORTED and expects the frontend to complete the command so the abort can proceed. The initiator, unaware of the abort, continues to transmit the remaining dataout PDUs for the SCSI write. The function __iscsit_check_dataout_hdr() accepts the payload, stops the dataout timer when the sequence is final, and discards the buffered data. However, the iSCSI target never calls into the completion path for the aborted command, so the abort waiter in target_put_cmd_and_wait() is never signaled.
Root Cause
The root cause is a missing completion notification in the dataout handling path for aborted WRITE commands. The iSCSI frontend dumps the inbound data without invoking target_complete_cmd(), leaving the target core waiting indefinitely. The upstream fix explicitly calls target_complete_cmd() when the final dataout PDU arrives for an aborted command. target_complete_cmd() detects the CMD_T_ABORTED flag and routes the command into target_abort_work, allowing the abort completion to unblock. This is a logic defect in abort handling, not a memory safety issue.
Attack Vector
The condition is reachable from an authenticated iSCSI initiator interacting with a vulnerable target. An initiator that issues a LUN_RESET while a WRITE command is in TRANSPORT_WRITE_PENDING, then continues to send dataout PDUs, can cause the target worker thread to hang. Repeated triggering degrades or halts storage service on the target. The flaw does not require code execution capabilities on the target host and does not grant privilege escalation; the impact is availability of the storage service.
The vulnerable interaction is described in the upstream commit messages; see the kernel commit references in the Patch Information section for the exact code paths.
Detection Methods for CVE-2026-97951
Indicators of Compromise
- Kernel threads associated with the LIO target (iscsi_np, iscsi_ttx, target worker threads) stuck in D (uninterruptible) state for extended periods.
- Soft lockup or hung task warnings in dmesg referencing target_put_cmd_and_wait or __transport_wait_for_tasks.
- iSCSI initiators reporting I/O timeouts or stalled WRITE operations against a specific LUN after a reset event.
Detection Strategies
- Monitor kernel logs for repeated hung_task warnings tied to the SCSI target call stack.
- Correlate iSCSI LUN_RESET task management function requests with subsequent WRITE command stalls on the same session.
- Audit kernel versions on storage servers against the fixed commits (37f7f54d, 638cf7c0, d5869dae, f6f6351e) to confirm patch presence.
Monitoring Recommendations
- Enable kernel.hung_task_timeout_secs and forward hung task events to centralized logging.
- Track iSCSI session and task management counters exposed under /sys/kernel/config/target/iscsi/ for anomalies.
- Alert on sustained increases in iSCSI command latency or queue depth on target hosts.
How to Mitigate CVE-2026-97951
Immediate Actions Required
- Inventory Linux hosts providing iSCSI target services via LIO and record their kernel versions.
- Apply the upstream stable kernel updates that include the fix commits for the SCSI target subsystem.
- Restrict iSCSI target network exposure to trusted initiator subnets using firewall rules or network segmentation.
Patch Information
The issue is resolved upstream in the Linux kernel. Refer to the following commits for the fix and backports:
The patch calls target_complete_cmd() when the final dataout PDU is received for an aborted WRITE command, allowing the abort waiter to unblock cleanly.
Workarounds
- Avoid issuing LUN_RESET task management functions against active WRITE workloads where possible.
- Where kernel upgrades are not immediately feasible, schedule periodic restarts of the target service to clear any accumulated hung commands.
- Limit the set of authenticated initiators that can issue task management operations against production LUNs.
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

