scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands
Summary
| CVE | CVE-2026-97951 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-25 11:17:22 UTC |
| Updated | 2026-09-28 06:16:38 UTC |
| 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. |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.053870000 (date 2026-09-29)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 2c9fa49e100f962af988f1c0529231bf14905cda 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32 git | Not specified |
| CNA | Linux | Linux | affected 2c9fa49e100f962af988f1c0529231bf14905cda f6f6351e98c77c27b51763ef52deb2efe4b46ac7 git | Not specified |
| CNA | Linux | Linux | affected 2c9fa49e100f962af988f1c0529231bf14905cda 37f7f54d06c6100511979d6e9c1222b404e3f006 git | Not specified |
| CNA | Linux | Linux | affected 2c9fa49e100f962af988f1c0529231bf14905cda d5869dae5080e976d4b03cc33eb7ceb527f242bf git | Not specified |
| CNA | Linux | Linux | affected 5.0 | Not specified |
| CNA | Linux | Linux | unaffected 5.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.111 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.53 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.7 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/f6f6351e98c77c27b51763ef52deb2efe4b46ac7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/37f7f54d06c6100511979d6e9c1222b404e3f006 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/638cf7c0cf64d5bb5704c3a78b54ae6602f69a32 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d5869dae5080e976d4b03cc33eb7ceb527f242bf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.