CVE-2026-97951
scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands
Check your servers for CVE-2026-97951
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97951 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.55% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before b070c8b4b237d55bdac13da3c5a994491177b312 affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before 19315262991dc983cc5c5c2ed24ff768abbf9339 affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before f806f54ae3de780b8f4139baefc95b81c599cf9f affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before 9c777f8e0cb0486fdf16db8ffea32e562a31e85b affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32 affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before f6f6351e98c77c27b51763ef52deb2efe4b46ac7 affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before 37f7f54d06c6100511979d6e9c1222b404e3f006 affected from 2c9fa49e100f962af988f1c0529231bf14905cda, before d5869dae5080e976d4b03cc33eb7ceb527f242bf
Other versions: unaffected
|
| Linux |
affected 5.0 unaffected before 5.0 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97951 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97951
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97951
trivy image --scanners vuln IMAGE | grep CVE-2026-97951
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b070c8b4b237d55bdac13da3c5a994491177b312 git.kernel.org
- https://git.kernel.org/stable/c/19315262991dc983cc5c5c2ed24ff768abbf9339 git.kernel.org
- https://git.kernel.org/stable/c/f806f54ae3de780b8f4139baefc95b81c599cf9f git.kernel.org
- https://git.kernel.org/stable/c/9c777f8e0cb0486fdf16db8ffea32e562a31e85b git.kernel.org
- https://git.kernel.org/stable/c/638cf7c0cf64d5bb5704c3a78b54ae6602f69a32 git.kernel.org
- https://git.kernel.org/stable/c/f6f6351e98c77c27b51763ef52deb2efe4b46ac7 git.kernel.org
- https://git.kernel.org/stable/c/37f7f54d06c6100511979d6e9c1222b404e3f006 git.kernel.org
- https://git.kernel.org/stable/c/d5869dae5080e976d4b03cc33eb7ceb527f242bf git.kernel.org
Source: the record CVE-2026-97951 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse