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=1793187547; b=eS+3H3ssjlTpTwrqaYlu0l7+Wd+6Gz0yKsyExBRbVmBvTFViHQzP+pmFZOUgITtQtv+U 0mi73U/V80WPkZQwSdLo/vgx/jHNWaK2kj3n9crMYZcTf2jkep54/Kp5vlSRwvtmQuktT rUaslBRcmaVlsPjugZ0n80bOHQQ708ZOM8P2q2zC/WnIE0q0oXNcS/dY4vb5pZhWjZfHR 2KPJBHFSVmsMcwIE9SnDZX4FvU7gO4Rapc6PWpLtNuYIfOrojbUoRu//kIYs5FIrzOYWm Kaw5YE90/06xClYPeXn8AIRB5J+fP4SDi7cpxNzZsnCfkla1dfO83eid9J5997vzP1w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187547; 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=ydV1GYpCPiQGyTAxKhJQbxaggL8Nm4KDPUklNvfzxls=; b=RXiXj9T37CqbbW+kjATwlI1wdvb7Ra2o7JUYCmd717Z8R+hJfA4WB1E2l3Xzv6v65DKG eTQIyiTP4rBWLEtWgswOJvV3w2/NtCH02gNbrkBSshyCQh7t5IKZBN8rnyV8IsoG1PnbP RzYfLzz7BNNIU61wXqgaie1f+29ZoqMScKcrik0UDe0xK0ErH2IpZg9UB4lGPqn/rVwRI OtcY24Exoppuw12gx8ocQdwH0oijjuWrV57NyxKljeL4tv5kivP19TTauBJE5KDfe1zFc 1Qpx9EX684HIt7KYfUIMz+qB/zM8Q5OwmehQcozDNObGoByVe0qy3UXgZutc4CSlYhQ== 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=F0ZNJZn7; 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 9F7F6606A31A for ; Wed, 28 Oct 2026 11:39:06 +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=F0ZNJZn7 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A15061F01825; Wed, 28 Oct 2026 11:39:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187546; bh=ydV1GYpCPiQGyTAxKhJQbxaggL8Nm4KDPUklNvfzxls=; h=From:To:Cc:Subject:Date:Reply-To; b=F0ZNJZn7LMupyjrWm5ShP9QuqJlqQ2iEYG29iPWEkQLuIzhdfRp6Ry+fxPAu3mAYv cLnzV0ibrmgQJqg77h5VUENnUNSf5G3GpI4MaMi+zIa5L1AtC+0eLBtBXqaUU7M+qI C9lhynZapj61wbIg/zYBjKW/mBouLrBNEP0jVHSs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99153: scsi: libiscsi: Validate the ITT reflected in a Reject PDU Date: Wed, 28 Oct 2026 11:35:40 +0100 Message-ID: <2026102803-CVE-2026-99153-985f@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=5123; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=efppmNDwc9Wy5atKfGfO4a3lR3fJJ4XEejg1yMHr4rc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz9+IcOBg6ohbHnf/u5qPY5NiO+ebVWwf7i9TZLl89 cihV//ud8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEpj1nWDDDzKljyazUZeLK U93W/rbeuTQrWJlhftydBXcOp1SWqzh/LOG+ZdLqxJkSCQA= 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: Validate the ITT reflected in a Reject PDU A Reject PDU carries a copy of the header it rejects, and iscsi_handle_reject() takes the ITT out of that copy to find the task to clean up: memcpy(&rejected_pdu, data, sizeof(struct iscsi_hdr)); ... task = iscsi_itt_to_task(conn, rejected_pdu.itt); That value is whatever the target put there. iscsi_itt_to_task() bounds the index against cmds_max and checks nothing else, so any task in the pool can be named, and iscsi_nop_out_rsp() then completes it. An index that has never been used gives a NULL task->conn: the pool is zeroed at session setup and conn is assigned only when a task is allocated. If the task was used and returned, iscsi_complete_task() hits its WARN_ON_ONCE(task->state == ISCSI_TASK_FREE) and the refcount underflows. An in-flight SCSI command is completed as successful - a 1 MiB read returned 1048576 with none of its buffer written and no warning. Validate the reflected ITT the way iscsi_itt_to_ctask() validates a command ITT, and require the task to be in flight and not a SCSI command. [ 6.248477] Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN NOPTI [ 6.249357] KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] [ 6.249951] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.2.0-rc5-ISCSI1-gf5098b6bae76 #1 PREEMPT(lazy) [ 6.250718] Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 6.251616] RIP: 0010:iscsi_nop_out_rsp.constprop.0+0x46/0x160 [ 6.252043] Code: c1 ea 03 48 83 ec 08 80 3c 02 00 0f 85 f5 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 58 48 8d 7d 60 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c0 00 00 00 48 8b 45 60 48 39 c3 74 50 48 b8 00 [ 6.252813] RSP: 0018:ffff88806c907b80 EFLAGS: 00010206 [ 6.253042] RAX: dffffc0000000000 RBX: ffff88800607e000 RCX: ffffffff8d571a25 [ 6.253345] RDX: 000000000000000c RSI: ffff88806c907c38 RDI: 0000000000000060 [ 6.253642] RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff235a504 [ 6.253947] R10: 0000000000000003 R11: 7463656e6e6f6320 R12: 0000000000000000 [ 6.254251] R13: 0000000000000000 R14: ffff88806c907c38 R15: 0000000000000000 [ 6.254549] FS: 0000000000000000(0000) GS:ffff8880d95bc000(0000) knlGS:0000000000000000 [ 6.254887] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 6.255140] CR2: 00007fc393e8ffc0 CR3: 0000000005252006 CR4: 0000000000770ef0 [ 6.255439] PKRU: 55555554 [ 6.255564] Call Trace: [ 6.255674] [ 6.255768] __iscsi_complete_pdu+0x18bf/0x22a0 [ 6.256733] iscsi_complete_pdu+0x54/0xa0 [ 6.256905] iscsi_tcp_data_recv_done+0xf4/0x250 [ 6.257103] iscsi_tcp_recv_skb+0x31e/0xec0 [ 6.257680] iscsi_sw_tcp_recv+0x12f/0x390 [ 6.258061] __tcp_read_sock+0x1ab/0x810 [ 6.258853] iscsi_sw_tcp_data_ready+0x18b/0x510 [ 6.259808] tcp_data_queue+0x1f13/0x4cd0 [ 6.260567] tcp_rcv_established+0x8a5/0x3a00 [ 6.261931] tcp_v4_do_rcv+0x449/0x960 [ 6.262269] tcp_v4_rcv+0x2245/0x3bc0 The Linux kernel CVE team has assigned CVE-2026-99153 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.32 with commit 8afa1439fcff58da8f28c1d083046f229f6ab3de and fixed in 6.18.59 with commit 7215a69b6456fda79c0935c2959045dff3fcaac8 Issue introduced in 2.6.32 with commit 8afa1439fcff58da8f28c1d083046f229f6ab3de and fixed in 7.2.13 with commit d79343ae3223b3f7f74b55e79f8a1371fa3f4b1a Issue introduced in 2.6.32 with commit 8afa1439fcff58da8f28c1d083046f229f6ab3de and fixed in 7.3 with commit c5958c770b2a0ee492414e26b07da9164a0d1f5d 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-99153 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/7215a69b6456fda79c0935c2959045dff3fcaac8 https://git.kernel.org/stable/c/d79343ae3223b3f7f74b55e79f8a1371fa3f4b1a https://git.kernel.org/stable/c/c5958c770b2a0ee492414e26b07da9164a0d1f5d