Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-97951

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97951

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "b070c8b4b237d55bdac13da3c5a994491177b312",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "19315262991dc983cc5c5c2ed24ff768abbf9339",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "f806f54ae3de780b8f4139baefc95b81c599cf9f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "9c777f8e0cb0486fdf16db8ffea32e562a31e85b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "638cf7c0cf64d5bb5704c3a78b54ae6602f69a32",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "f6f6351e98c77c27b51763ef52deb2efe4b46ac7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "37f7f54d06c6100511979d6e9c1222b404e3f006",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
        "lessThan": "d5869dae5080e976d4b03cc33eb7ceb527f242bf",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/target/iscsi/iscsi_target.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.0"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.271",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/target/iscsi/iscsi_target.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97951

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38092 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement