CVE-2026-97951

scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands When a LUN_RESET aborts a WRITE command that is in the TRANSPORT_WRITE_PENDING state, the target core sets CMD_T_ABORTED and waits for the frontend to finish processing. If the initiator subsequently sends the remaining dataout PDUs, __iscsit_check_dataout_hdr() catches the payload, stops the dataout timer if the sequence is final and finally dumps the data. However, the iSCSI target doesn't trigger the completion process for these aborted commands. Because of this, the abort path hangs indefinitely in target_put_cmd_and_wait(), leading to a deadlocked target worker thread. Fix this by explicitly calling target_complete_cmd() when the final dataout PDU is received for an aborted WRITE command. target_complete_cmd() detects the CMD_T_ABORTED flag and cleanly routes the command into target_abort_work, allowing the abort completion to successfully unblock.

Key facts

Published
25 Sep 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.177% likely to be exploited in the next 30 days, higher than 7.299% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding b070c8b4b237d55bdac13da3c5a994491177b312 (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding 19315262991dc983cc5c5c2ed24ff768abbf9339 (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding f806f54ae3de780b8f4139baefc95b81c599cf9f (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding 9c777f8e0cb0486fdf16db8ffea32e562a31e85b (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32 (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding f6f6351e98c77c27b51763ef52deb2efe4b46ac7 (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding 37f7f54d06c6100511979d6e9c1222b404e3f006 (affected)
  • 2c9fa49e100f962af988f1c0529231bf14905cda up to but excluding d5869dae5080e976d4b03cc33eb7ceb527f242bf (affected)
LinuxLinux
  • Default status: affected
  • 5.0 (affected)
  • 0 up to but excluding 5.0 (unaffected)
  • 5.10.271 up to and including 5.10.* (unaffected)
  • 5.15.222 up to and including 5.15.* (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References