{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-97951",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:18:58.205Z",
        "datePublished": "2026-09-25T10:22:59.559Z",
        "dateUpdated": "2026-10-19T09:11:17.515Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T09:11:17.515Z"
            },
            "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't 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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/target/iscsi/iscsi_target.c"
                    ],
                    "versions": [
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "b070c8b4b237d55bdac13da3c5a994491177b312",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "19315262991dc983cc5c5c2ed24ff768abbf9339",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "f806f54ae3de780b8f4139baefc95b81c599cf9f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "9c777f8e0cb0486fdf16db8ffea32e562a31e85b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "638cf7c0cf64d5bb5704c3a78b54ae6602f69a32",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "f6f6351e98c77c27b51763ef52deb2efe4b46ac7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "37f7f54d06c6100511979d6e9c1222b404e3f006",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2c9fa49e100f962af988f1c0529231bf14905cda",
                            "lessThan": "d5869dae5080e976d4b03cc33eb7ceb527f242bf",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/target/iscsi/iscsi_target.c"
                    ],
                    "versions": [
                        {
                            "version": "5.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.271",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.222",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.189",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.158",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.111",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.53",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.7",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "5.10.271"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "5.15.222"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.1.189"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.6.158"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.12.111"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.18.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "7.2.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}