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 15AD73F4DDA for ; Sat, 15 Aug 2026 12:32:56 +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=1786797177; cv=none; b=dDdHIV6QHlAvfLDc60dbM01l0+xDVH04hTwSxrjTIeBqtgTWC5vAl2U1ybsnY4dM0i8BCt93UWVky4cpISDmQ2CrRkT4X8bsn4+9GcSq+4szwopQvS+o33Cvl2YnZlY+NnpuarvWGBmlTDQSssQzW60YpEmjL7nBnFn59scRzbk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786797177; c=relaxed/simple; bh=0DZOFRHcN3XUlXDdkBAfsboz2eyerMa6sTxYfujAMdw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EpGdER1gCXeaoxZHlBGOA75ePn9Du/gOw1cFI8YCqi+txtX2qUt6UrB9S1Zcv7kK2IG84iQBgiGraanctrapVZgPJ2POAze92acyd6NwZEcVLARKN2ly0pQO5HnnjYnNSlk6+357BgnAnJyZSmseJuq/OENJ/AAR5NakOOEdW0o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LJiAWCVa; 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="LJiAWCVa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 638B11F000E9; Sat, 15 Aug 2026 12:32:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786797175; bh=d2+CIBAigAHva88WNRyQRhPYJYKc0eYg/ZY/M9qPJ3Y=; h=From:To:Cc:Subject:Date:Reply-To; b=LJiAWCVaZL90bRwcHFaXeuG+2doCT5xl3vA4MpxPqEp0AzI3sU347hg3Q3SLxyloZ vNhoOJvv/sI8syoQeSPHqIs079KuUTdbldp/xxdX7r6P8aKCoEMWI2kLIcxwNjKolx eJpx6blbB86W0gZZic9275JMbLNLFniW+JuCap2A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74557: scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer Date: Sat, 15 Aug 2026 21:27:18 +0900 Message-ID: <2026081551-CVE-2026-74557-6742@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=3296; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YyG0F4EbuCUa9An1iRbFcJRi5GPvJq0pKKCoCngwTvc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNURfyv3Tscn0WIJC0+PHJepZMkd6r6za41Vt9kz/4s pyl68eNjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIdhLD/IqtzJ39THtOT5r0 dg7jC79Da/QqjRkWHNDayhjwUG7inqIXf39tzTurfptlJQA= 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: Fix stale-data leak into the SCSI sense buffer iscsi_scsi_cmd_rsp() copies the sense data of a SCSI Response from the target-supplied data segment. The segment carries a 2-byte sense length followed by the sense bytes, so it must hold 2 + senselen bytes, but the bounds check only requires datalen >= senselen: senselen = get_unaligned_be16(data); if (datalen < senselen) goto invalid_datalen; memcpy(sc->sense_buffer, data + 2, min_t(uint16_t, senselen, SCSI_SENSE_BUFFERSIZE)); A target that returns a SCSI Response whose datalen equals senselen (with senselen <= SCSI_SENSE_BUFFERSIZE) makes the memcpy() from data + 2 read up to two bytes past the received data. Those bytes are stale conn->data contents and end up in the command's sense buffer, which is returned to userspace. Account for the 2-byte sense length prefix in the check. The Linux kernel CVE team has assigned CVE-2026-74557 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.18 with commit 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8 and fixed in 6.6.151 with commit 7567f06abdefb1caf2d836107c4d08c5185c650e Issue introduced in 2.6.18 with commit 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8 and fixed in 6.12.103 with commit 60499924faf4ef97e84228c20515218ef121facf Issue introduced in 2.6.18 with commit 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8 and fixed in 6.18.44 with commit 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac Issue introduced in 2.6.18 with commit 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8 and fixed in 7.1.8 with commit 1f07a897d43c63e6c9458bf77450defef39b5833 Issue introduced in 2.6.18 with commit 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8 and fixed in 7.2-rc6 with commit 98b87885de4b7f605533a2860685f5689fce8e82 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-74557 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/7567f06abdefb1caf2d836107c4d08c5185c650e https://git.kernel.org/stable/c/60499924faf4ef97e84228c20515218ef121facf https://git.kernel.org/stable/c/3ef209ca0b4b68c75e9a814d90cc916026b5a6ac https://git.kernel.org/stable/c/1f07a897d43c63e6c9458bf77450defef39b5833 https://git.kernel.org/stable/c/98b87885de4b7f605533a2860685f5689fce8e82