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 A8A173148DA for ; Thu, 18 Sep 2025 16:05:18 +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=1758211519; cv=none; b=HbEwXLbxRvj19SNFmZcCVM1uxyv/u4v6+k1EkBv2gTotrbJ88TeT9L9oDy8EnCUR0lI0gHaBKKbNV5BOb34C6PLn+3YLtPA3gnh+ux6fFvrPjhtH2gBJPOs9lfctBFygGralQCoZV65pGaBn9xkZjDGzllPiuUsMObC4DR6b14A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211519; c=relaxed/simple; bh=dYKh+YV6obyVwp608JcSbzspEVVoE+Z0F9WrvaS+0es=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H1JWaM8T/USnVj7cMadVxy0G+lwFBoKqfOTUH925vyqB8Gl6eXeiq3Hf4ZnKl1ZojHoHTIy4BW6HxopePUHGU94G8UEJBhyO7XWDXGEDX/ZJ8FUKRV1kuEC4yvyU2/pETxaBeapMKTFJWIk9+Dg+YqOrvLfOIBEeIppzlQn/XZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bN6SO62A; 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="bN6SO62A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DCE3C4CEE7; Thu, 18 Sep 2025 16:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758211518; bh=dYKh+YV6obyVwp608JcSbzspEVVoE+Z0F9WrvaS+0es=; h=From:To:Cc:Subject:Date:Reply-to:From; b=bN6SO62AllJqAk2fXInVIV/w6uynCY0qtAm755IwOpPX03H3OQxIsVOszaNsx1YEb uHoIz9bI/11nYkl0kAX3he/QthIdker54/h5KWbVg/+bt/hagEkfXAFUdjob3ebD1O hPEmxndk47GKiYjo6rebLHjGBdsho8+EVqT9ZbpA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53431: scsi: ses: Don't attach if enclosure has no components Date: Thu, 18 Sep 2025 18:04:22 +0200 Message-ID: <2025091857-CVE-2023-53431-7eac@gregkh> X-Mailer: git-send-email 2.51.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=2809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=E+BUfCOZi34rJv9egCIEZfDA6WOMYc6ech7Z9kNDF0A=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlndHPlt1hNvGiQ9bzFxtZiu8bHWfeKfz87p3JZbqKh5 i4JSRGZjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIazfD/FDz6Z5zt/Hv1F2o sWftouMeNTUm/Azzs9mMt7/dyXlwhcQphoyfn0uzTp59CgA= 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: ses: Don't attach if enclosure has no components An enclosure with no components can't usefully be operated by the driver (since effectively it has nothing to manage), so report the problem and don't attach. Not attaching also fixes an oops which could occur if the driver tries to manage a zero component enclosure. [mkp: Switched to KERN_WARNING since this scenario is common] The Linux kernel CVE team has assigned CVE-2023-53431 to this issue. Affected and fixed versions =========================== Fixed in 4.14.308 with commit 4863fefc8a8cc8e8f6c7635b12d9dffaa0a12d86 Fixed in 4.19.276 with commit feefd5232ecb788f0666f75893a7a86faec8bbcc Fixed in 5.4.235 with commit 6069e04a922a0488bcf4f1017d38d18afda8194c Fixed in 5.10.173 with commit d68937dfc73ee7f61cf3424fa3225be93cacaa00 Fixed in 5.15.99 with commit 6fce2307650a190e343a84537c278d499fa37c26 Fixed in 6.1.16 with commit 5ca5470b33e5221dd3e5be81108697c22dd38b56 Fixed in 6.2.3 with commit f182ad02024d3f45374a9e0c9d76f28b776d762d Fixed in 6.3 with commit 3fe97ff3d94934649abb0652028dd7296170c8d0 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-2023-53431 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/ses.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/4863fefc8a8cc8e8f6c7635b12d9dffaa0a12d86 https://git.kernel.org/stable/c/feefd5232ecb788f0666f75893a7a86faec8bbcc https://git.kernel.org/stable/c/6069e04a922a0488bcf4f1017d38d18afda8194c https://git.kernel.org/stable/c/d68937dfc73ee7f61cf3424fa3225be93cacaa00 https://git.kernel.org/stable/c/6fce2307650a190e343a84537c278d499fa37c26 https://git.kernel.org/stable/c/5ca5470b33e5221dd3e5be81108697c22dd38b56 https://git.kernel.org/stable/c/f182ad02024d3f45374a9e0c9d76f28b776d762d https://git.kernel.org/stable/c/3fe97ff3d94934649abb0652028dd7296170c8d0