Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 571FF392B87 for ; Tue, 13 Jan 2026 15:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318187; cv=none; b=r5G3M99fK/nmDJu9f8iJnFM8BKR/Csli2DOtfbdVDYlt21FwNCGhWenWU4vzfCmyrLDtf5tB5RVWKhXwoNwcuZ7/Ac2dAxuKOOx/ZONuAZp9qRoyrtaHF0TVyBTEEiDRIcmCcjrpkhopLq3hu+u2ETL3fiktnmzCB/5QCX6JsKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318187; c=relaxed/simple; bh=I7Ef/izOX+y528cTlS5/bTuX2EheWS230XgZFjXsCOg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GWVLqPi+2vBJ/DhtSAr0Qaz7fYK9xAKFSQVxcQQ52YReKnL4JIwRu0vKk8n1wdmZz2bUs1HqOxRkGQwzIyQbucEEnxx6rOkhFzp1ByMxh4x3rRSxbS4MHuqpUxo2hV0LOfJEFMX1GnphH4xEfn1liSkfnk49ACy9AqkeR2N6uT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=u0JYxEai; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="u0JYxEai" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4A67C116C6; Tue, 13 Jan 2026 15:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318187; bh=I7Ef/izOX+y528cTlS5/bTuX2EheWS230XgZFjXsCOg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=u0JYxEaiZ+01tV1y4HN7hM2+CE6YaXHKJA/WNMMJ3AaSqJqAd+vWobI/SGgXks9np RMrjboD/z3Hp4hxhcIetN1KynlD1r8i2ADDPiJdZATsBFGO9DcKk23KjRoAuoU45Cb 68ZIqT0QDYJ6vkKFa57Asan44rnbajvBrQq8sUXM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68782: scsi: target: Reset t_task_cdb pointer in error case Date: Tue, 13 Jan 2026 16:29:08 +0100 Message-ID: <2026011301-CVE-2025-68782-a72f@gregkh> X-Mailer: git-send-email 2.52.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=2723; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4LSKQJrssCk2tAAwiIoc4J6pCM1lDZlmZ3toq+sFxdM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKXv5Z5nkq08WtzM8XL5KxeX4W5PLkRFPTq/dE7tmR 9y7tP8bO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi4m4M89TW+IcI8DLInH9Q rv1cVtd/71ZXfYYFM1/1/nhRYVXZt2TSp4+dz7jFJKqWAgA= 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: Reset t_task_cdb pointer in error case If allocation of cmd->t_task_cdb fails, it remains NULL but is later dereferenced in the 'err' path. In case of error, reset NULL t_task_cdb value to point at the default fixed-size buffer. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2025-68782 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 9e95fb805dc043cc8ed878a08d1583e4097a5f80 and fixed in 6.1.160 with commit 8727663ded659aad55eef21e3864ebf5a4796a96 Issue introduced in 5.8 with commit 9e95fb805dc043cc8ed878a08d1583e4097a5f80 and fixed in 6.6.120 with commit 0260ad551b0815eb788d47f32899fbcd65d6f128 Issue introduced in 5.8 with commit 9e95fb805dc043cc8ed878a08d1583e4097a5f80 and fixed in 6.12.64 with commit 0d36db68fdb8a3325386fd9523b67735f944e1f3 Issue introduced in 5.8 with commit 9e95fb805dc043cc8ed878a08d1583e4097a5f80 and fixed in 6.18.3 with commit 8edbb9e371af186b4cf40819dab65fafe109df4d Issue introduced in 5.8 with commit 9e95fb805dc043cc8ed878a08d1583e4097a5f80 and fixed in 6.19-rc1 with commit 5053eab38a4c4543522d0c320c639c56a8b59908 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-2025-68782 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/target_core_transport.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/8727663ded659aad55eef21e3864ebf5a4796a96 https://git.kernel.org/stable/c/0260ad551b0815eb788d47f32899fbcd65d6f128 https://git.kernel.org/stable/c/0d36db68fdb8a3325386fd9523b67735f944e1f3 https://git.kernel.org/stable/c/8edbb9e371af186b4cf40819dab65fafe109df4d https://git.kernel.org/stable/c/5053eab38a4c4543522d0c320c639c56a8b59908