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 EE1BB1CF5FF for ; Mon, 21 Oct 2024 19:41:27 +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=1729539688; cv=none; b=CfPxJuooOaEVQrJydd/mezwmMnvmazXTpcJVuE1eiymecyVoCWTHrh1T2/6qwnUOBWT1XzZEZik+E7VSZXCZDHLUlLcMWJuA6UUwH0mvPZlBFjzH+M41onY6EslK3fL8OmsA8+RphvieqIyTTaQb+EJyNGHHLnQYfABpxVVQrKk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729539688; c=relaxed/simple; bh=U+NwkszH5PB6wm/s2Hw2sZUFr/C1X5C40gxws2X/UYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f4L42iSU+2MMGc7eyfH9j1S6/KiUWJYuzqjim0fnbo5cw7rjJ8C5oJfZDSs+eSKGToVIl6/o8XsBfNwsI+b7x03voQ4+NOh1HqKl1ZbRT0EceDsRORdzg/G0IG5qsqzS0bfja79i74z1910edG+fxQSG5g42XRZV79tEyCugRfY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wG5Lv2st; 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="wG5Lv2st" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63F9CC4CEC3; Mon, 21 Oct 2024 19:41:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729539687; bh=U+NwkszH5PB6wm/s2Hw2sZUFr/C1X5C40gxws2X/UYA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wG5Lv2st3pj6f5Q9yjIHkbez0Vju7qxTgBW20QM9Pa1tNKvSu4dIWadujThrAWtxP hF2Vd+tfqjXFrZFkFzigB9G0qoEaJTgb2ptqbra6929tzYsc+cm1Az4oC9yKcOPrCd DHxOXy7VMPiDRtz4B6WbAxIlOCnLrSwwhbaCVLAk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50026: scsi: wd33c93: Don't use stale scsi_pointer value Date: Mon, 21 Oct 2024 21:39:32 +0200 Message-ID: <2024102130-CVE-2024-50026-a7cf@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2383; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U+NwkszH5PB6wm/s2Hw2sZUFr/C1X5C40gxws2X/UYA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliaz/xWltVaNZ8axS8oM3+58q2jRsD3vbvzwtX7LA+W X7tt6hsRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk2C2GBYv+P3YTvXok9Kag y9/8nyZWUXf2ejEsuFS8Mv+1a7hC71HhG7kNibzHNr1zBwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: wd33c93: Don't use stale scsi_pointer value A regression was introduced with commit dbb2da557a6a ("scsi: wd33c93: Move the SCSI pointer to private command data") which results in an oops in wd33c93_intr(). That commit added the scsi_pointer variable and initialized it from hostdata->connected. However, during selection, hostdata->connected is not yet valid. Fix this by getting the current scsi_pointer from hostdata->selecting. The Linux kernel CVE team has assigned CVE-2024-50026 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit dbb2da557a6a and fixed in 6.1.113 with commit 3afeceda855d Issue introduced in 5.18 with commit dbb2da557a6a and fixed in 6.6.57 with commit e04642a207f1 Issue introduced in 5.18 with commit dbb2da557a6a and fixed in 6.11.4 with commit b60ff1a95c7c Issue introduced in 5.18 with commit dbb2da557a6a and fixed in 6.12-rc3 with commit 9023ed8d91eb 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-2024-50026 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/wd33c93.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/3afeceda855dea9b85cddd96307d4d17c8742005 https://git.kernel.org/stable/c/e04642a207f1d2ae28a08624c04c67f5681f3451 https://git.kernel.org/stable/c/b60ff1a95c7c386cdd6153de3d7d85edaeabd800 https://git.kernel.org/stable/c/9023ed8d91eb1fcc93e64dc4962f7412b1c4cbec