Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 088AD49364C for ; Fri, 25 Sep 2026 10:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332190; cv=none; b=QzjW8Pkn2s8Jo+jO5ysjZf80w0XNXbJDjaQqkzE1X10dJSuUKpzyrjPAeZ+AalzFtWX97rzP/afyIAaaZ3v/PzxW24+T/jZKVZdGbOQxOCL1pvK+h9xiQjhN7IhuUrzxM9BPStwfdOtciFewvsY3btf2B/oo7We5ZtHK4U1qZA4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332190; c=relaxed/simple; bh=SdTPC0zAS6YIodI7YsBfkWMMho8h8fgCAEGuqL6g3PA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tcNPfmyuWECuFXsA65ERxsL8/vueMFlx+MVvrY8vLK9J5vvYmPIF+EEkBNlS7Bt22zzupBkwpBY/aunmC6O+h4OVty30YEiEtyujsfekdMtbeqWDY2GyvaOufliT4LL0OlYCVzsCgAWwKSuAoth0g6085JMYMoN1Gffs5btSse0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CFrTjYfN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CFrTjYfN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B2501F000FF; Fri, 25 Sep 2026 10:29:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332188; bh=lupPpvua3ssdAzUmPBtTmB+CmQ2CWtvAEtfjO757O94=; h=From:To:Cc:Subject:Date:Reply-To; b=CFrTjYfNixqodnJOO0V9C/wOuV6354Ny2jwFy5d1NGM0gpYg1+0ELoG3SmVutGdy9 S+gQeEJaPChH7WN1U0oStKbmm4iSih36Ssv+ieraqFHVHSnp9Qa45/S/IlxTYUoEtR GpR6zvdcMvsHs03MtcSJ0CDBTKtiMbUWyVlqTAiQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97951: scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands Date: Fri, 25 Sep 2026 12:24:14 +0200 Message-ID: <2026092514-CVE-2026-97951-bccf@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2799; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=u3NH1elqY7bwIK5OF9R0lLrnf6TKBCt4OcUOdHZvjcw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvMOY/JzbZELT56/cxmX4NmXzexkvWwvJ06fe/3A3m jKl1SKxI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZiGcCwYO88gdALy0rzWVLO /wlVitBbzb9nBsOChaUnk/V8rz8wL7WZUsXx98jbEt6dAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-97951 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 638cf7c0cf64d5bb5704c3a78b54ae6602f69a32 Fixed in 6.18.53 with commit f6f6351e98c77c27b51763ef52deb2efe4b46ac7 Fixed in 7.2.7 with commit 37f7f54d06c6100511979d6e9c1222b404e3f006 Fixed in 7.3-rc2 with commit d5869dae5080e976d4b03cc33eb7ceb527f242bf Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-97951 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/target/iscsi/iscsi_target.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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