---
id: CVE-2026-97951
title: |-
  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 …
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 …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-833
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    b070c8b4b237d55bdac13da3c5a994491177b312
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    19315262991dc983cc5c5c2ed24ff768abbf9339
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    f806f54ae3de780b8f4139baefc95b81c599cf9f
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    9c777f8e0cb0486fdf16db8ffea32e562a31e85b
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    638cf7c0cf64d5bb5704c3a78b54ae6602f69a32
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    f6f6351e98c77c27b51763ef52deb2efe4b46ac7
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    37f7f54d06c6100511979d6e9c1222b404e3f006
  - >-
    Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda <
    d5869dae5080e976d4b03cc33eb7ceb527f242bf
  - Linux 5.0
published: '2026-09-25'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:18:20.317'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97951'
references:
  - url: 'https://git.kernel.org/stable/c/19315262991dc983cc5c5c2ed24ff768abbf9339'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/37f7f54d06c6100511979d6e9c1222b404e3f006'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/638cf7c0cf64d5bb5704c3a78b54ae6602f69a32'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9c777f8e0cb0486fdf16db8ffea32e562a31e85b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b070c8b4b237d55bdac13da3c5a994491177b312'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d5869dae5080e976d4b03cc33eb7ceb527f242bf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f6f6351e98c77c27b51763ef52deb2efe4b46ac7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f806f54ae3de780b8f4139baefc95b81c599cf9f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97951.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97951'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541036'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97951'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97951'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97951.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00177
epssPercentile: 0.07175
cvssSource: vendor
ingestedAt: '2026-09-25T11:06:38.879Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97951.json)
