# CVE-2026-97951: scsi: target: iscsi: Fix hang for aborted WRITE\_PENDING commands

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:22:59.559Z
- **Modified:** 2026-10-19T10:17:46.330Z

## Who should check

- Anyone running Linux \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< b070c8b4b237d55bdac13da3c5a994491177b312; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 19315262991dc983cc5c5c2ed24ff768abbf9339; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< f806f54ae3de780b8f4139baefc95b81c599cf9f; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 9c777f8e0cb0486fdf16db8ffea32e562a31e85b; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< f6f6351e98c77c27b51763ef52deb2efe4b46ac7; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 37f7f54d06c6100511979d6e9c1222b404e3f006; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< d5869dae5080e976d4b03cc33eb7ceb527f242bf
- Anyone running Linux 5.0

## 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.

## Affected and fixed versions

- Linux: \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< b070c8b4b237d55bdac13da3c5a994491177b312; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 19315262991dc983cc5c5c2ed24ff768abbf9339; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< f806f54ae3de780b8f4139baefc95b81c599cf9f; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 9c777f8e0cb0486fdf16db8ffea32e562a31e85b; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< f6f6351e98c77c27b51763ef52deb2efe4b46ac7; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 37f7f54d06c6100511979d6e9c1222b404e3f006; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< d5869dae5080e976d4b03cc33eb7ceb527f242bf (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97951. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97951.md
Affected: Linux >= 2c9fa49e100f962af988f1c0529231bf14905cda, < b070c8b4b237d55bdac13da3c5a994491177b312; >= 2c9fa49e100f962af988f1c0529231bf14905cda, < 19315262991dc983cc5c5c2ed24ff768abbf9339; >= 2c9fa49e100f962af988f1c0529231bf14905cda, < f806f54ae3de780b8f4139baefc95b81c599cf9f; >= 2c9fa49e100f962af988f1c…
Fixed in: Linux 19315262991dc983cc5c5c2ed24ff768abbf9339, Linux 9c777f8e0cb0486fdf16db8ffea32e562a31e85b, Linux 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32, Linux 37f7f54d06c6100511979d6e9c1222b404e3f006

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97951 being exploited?

There is no confirmed exploitation: CVE-2026-97951 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97951?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97951?

Linux \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< b070c8b4b237d55bdac13da3c5a994491177b312; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 19315262991dc983cc5c5c2ed24ff768abbf9339; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< f806f54ae3de780b8f4139baefc95b81c599cf9f; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 9c777f8e0cb0486fdf16db8ffea32e562a31e85b; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< f6f6351e98c77c27b51763ef52deb2efe4b46ac7; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< 37f7f54d06c6100511979d6e9c1222b404e3f006; \>= 2c9fa49e100f962af988f1c0529231bf14905cda, \< d5869dae5080e976d4b03cc33eb7ceb527f242bf; Linux 5.0.

### Is there a fix for CVE-2026-97951?

Yes. Fixed in Linux 19315262991dc983cc5c5c2ed24ff768abbf9339, Linux 9c777f8e0cb0486fdf16db8ffea32e562a31e85b, Linux 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32, Linux 37f7f54d06c6100511979d6e9c1222b404e3f006. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-97951?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b070c8b4b237d55bdac13da3c5a994491177b312>
- other: <https://git.kernel.org/stable/c/19315262991dc983cc5c5c2ed24ff768abbf9339>
- other: <https://git.kernel.org/stable/c/f806f54ae3de780b8f4139baefc95b81c599cf9f>
- other: <https://git.kernel.org/stable/c/9c777f8e0cb0486fdf16db8ffea32e562a31e85b>
- other: <https://git.kernel.org/stable/c/638cf7c0cf64d5bb5704c3a78b54ae6602f69a32>
- other: <https://git.kernel.org/stable/c/f6f6351e98c77c27b51763ef52deb2efe4b46ac7>
- other: <https://git.kernel.org/stable/c/37f7f54d06c6100511979d6e9c1222b404e3f006>
- other: <https://git.kernel.org/stable/c/d5869dae5080e976d4b03cc33eb7ceb527f242bf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97951>

HTML: <https://flawdb.com/CVE-2026-97951> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97951>
