Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187550; b=g76NYK/rEWndMO7ucbWG0ZKboqJWOo3lzuliNkIzasD3tgpRoVQsYmD9TZLJAu5XZ2ae epvfHDZKEam9IMbF3goi2y0eSjdN8SbE9K6Y4PFJ4DQ5Pd7J+CkyW/QMn+s00qcCLw4Ft C+m+b+GLvW3GarLUVQnnwK1M/rWMtexYpht+CUageVDJTwQqKw5XYvip95tzM7QYM5He8 4AdPLcnF1TISXYIfAB2kRtaYBuOw0WhtfD8so5hIXKlEU02aULDpAkHPqYmEMtBq/jqaD LevuK+S/sVLbHMLB+mXE4K+BpiuhtND6Z6XB0S02bL+ig0YOiSuJOVoNZKyivvofe2Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187550; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=hOcnqdMeBmqziL3riDMWhv277Rj0JoBWfi1eV1bjpeU=; b=RhiJPtoBbcgRnCAkE37uYVV4keP3qSOEm9JjiKAwbHV/oUFkvfN4TQGrxf7kBI9sGPS4 mY18FwsKQa2DrnITf3gMipD92nEuNJ9hX35IxBz0vDHRsPSNVj1jNF5bcANDJkCx9AtCn s1X2mKOjTN2d1L9HEQiWHQj6DV0ki9HSXA4Q49jFxrEETV+Z+oO4GCy0R177O70zZJiHp fL3Bcb2PnQ+g/9K3eEmNsrwFxtGWPqjF32uBZTRKNRhLjqXgzzkl8FNF/5uQqTyZin8op viZJ5FTdtlCXjXr+EechRxEA7DcAAfImPmIzr1Ij6qPLaQYseY2JYeHfR1j9+Qqt0BQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=bWBBCj8J; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9E17606A31A for ; Wed, 28 Oct 2026 11:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=bWBBCj8J Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28D0F1F031E1; Wed, 28 Oct 2026 11:39:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187549; bh=hOcnqdMeBmqziL3riDMWhv277Rj0JoBWfi1eV1bjpeU=; h=From:To:Cc:Subject:Date:Reply-To; b=bWBBCj8JqEDDKz/A6VigFVC0pfDkf6//WVMzmjvU7eu7VqdO+9AxB82xJBODQIfbO Aq57WnjH3rOgpwno3dwgbvzD6iytRWmUl2qIrrg6+ptr3gp7S7HtR0TIMkfPKuopj3 q2+odagtgqI+3lFuTVKKJeFWDQ07i7Tfsp8JZ/Do= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99154: scsi: libiscsi: Reject a negative task index from parse_pdu_itt Date: Wed, 28 Oct 2026 11:35:41 +0100 Message-ID: <2026102804-CVE-2026-99154-4ac5@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2723; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g65mwNgnGwFO6Xs0rAsJxfPom0hYcMaRCKCAaLAJVoU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz9/4PUdT1Tw3I6Hv/v1FIj7Xw06sqv4oW798RdC5T ZnyjF1JHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRPVIM8135TDh1ytJj3BQa NQKE1jme+hj9jmG+Y6zQlMZ641VmzhvfTrqTp/us7w0TAA== 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: libiscsi: Reject a negative task index from parse_pdu_itt A transport that implements parse_pdu_itt hands libiscsi an index taken from the PDU, and both lookups bound it from above only: if (i >= session->cmds_max) i and cmds_max are both int, so a negative index passes and session->cmds[i] is read from before the array. be2iscsi produces one. beiscsi_parse_pdu() assigns the raw tag, *index = (int)itt; and beiscsi_complete_pdu() forwards an unsolicited NOP-In from the hardware async ring without replacing its ITT, so the value is the target's. It also reports the session's own age rather than the one in the tag, which leaves the age comparison in iscsi_verify_itt() with nothing to reject. Bound the index from below in both lookups. The Linux kernel CVE team has assigned CVE-2026-99154 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit bfead3b2cb4607c71831423c3ee97d22cd0c9dcb and fixed in 6.18.59 with commit 6cadfa6f1f5896632d4223d3b7addb2a29fea74e Issue introduced in 2.6.33 with commit bfead3b2cb4607c71831423c3ee97d22cd0c9dcb and fixed in 7.2.13 with commit 35b60549a956237488c89a2d85352e026e7d55b7 Issue introduced in 2.6.33 with commit bfead3b2cb4607c71831423c3ee97d22cd0c9dcb and fixed in 7.3 with commit 8ee2a09a1dbb257c9e828ad2497f8e4832dfb142 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-99154 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/scsi/libiscsi.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/6cadfa6f1f5896632d4223d3b7addb2a29fea74e https://git.kernel.org/stable/c/35b60549a956237488c89a2d85352e026e7d55b7 https://git.kernel.org/stable/c/8ee2a09a1dbb257c9e828ad2497f8e4832dfb142