CVE-2026-97951 (GCVE-0-2026-97951)
Vulnerability from cvelistv5
Published
2026-09-25 10:22
Modified
2026-10-19 09:11
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Version: 2c9fa49e100f962af988f1c0529231bf14905cda
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/target/iscsi/iscsi_target.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b070c8b4b237d55bdac13da3c5a994491177b312",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "19315262991dc983cc5c5c2ed24ff768abbf9339",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "f806f54ae3de780b8f4139baefc95b81c599cf9f",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "9c777f8e0cb0486fdf16db8ffea32e562a31e85b",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "638cf7c0cf64d5bb5704c3a78b54ae6602f69a32",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "f6f6351e98c77c27b51763ef52deb2efe4b46ac7",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "37f7f54d06c6100511979d6e9c1222b404e3f006",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            },
            {
              "lessThan": "d5869dae5080e976d4b03cc33eb7ceb527f242bf",
              "status": "affected",
              "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/target/iscsi/iscsi_target.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.0"
            },
            {
              "lessThan": "5.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands\n\nWhen a LUN_RESET aborts a WRITE command that is in the\nTRANSPORT_WRITE_PENDING state, the target core sets CMD_T_ABORTED and\nwaits for the frontend to finish processing.\n\nIf the initiator subsequently sends the remaining dataout PDUs,\n__iscsit_check_dataout_hdr() catches the payload, stops the dataout\ntimer if the sequence is final and finally dumps the data.  However, the\niSCSI target doesn\u0027t trigger the completion process for these aborted\ncommands. Because of this, the abort path hangs indefinitely in\ntarget_put_cmd_and_wait(), leading to a deadlocked target worker thread.\n\nFix this by explicitly calling target_complete_cmd() when the final\ndataout PDU is received for an aborted WRITE command.\ntarget_complete_cmd() detects the CMD_T_ABORTED flag and cleanly routes\nthe command into target_abort_work, allowing the abort completion to\nsuccessfully unblock."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:11:17.515Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b070c8b4b237d55bdac13da3c5a994491177b312"
        },
        {
          "url": "https://git.kernel.org/stable/c/19315262991dc983cc5c5c2ed24ff768abbf9339"
        },
        {
          "url": "https://git.kernel.org/stable/c/f806f54ae3de780b8f4139baefc95b81c599cf9f"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c777f8e0cb0486fdf16db8ffea32e562a31e85b"
        },
        {
          "url": "https://git.kernel.org/stable/c/638cf7c0cf64d5bb5704c3a78b54ae6602f69a32"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6f6351e98c77c27b51763ef52deb2efe4b46ac7"
        },
        {
          "url": "https://git.kernel.org/stable/c/37f7f54d06c6100511979d6e9c1222b404e3f006"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5869dae5080e976d4b03cc33eb7ceb527f242bf"
        }
      ],
      "title": "scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-97951",
    "datePublished": "2026-09-25T10:22:59.559Z",
    "dateReserved": "2026-09-25T10:18:58.205Z",
    "dateUpdated": "2026-10-19T09:11:17.515Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…