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 1024C2E7BCA for ; Wed, 1 Oct 2025 11:58: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=1759319898; cv=none; b=PMREWe0083iCWcuW+BDRqSc3tjOuBPWY5E4eMQHd95UG1e0B2kitWNzAjCbrJJDAslgfwCmD/XAR/J2ft5UcQ3ePupMXEN4cFFk0AMTq02p2q+DSkDQ9O+vT9M+bpWAGIvFW9aVcyqa+NQCjLUbF1eyXEIDelJp5Twbo8nvkL+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319898; c=relaxed/simple; bh=ofJjOTTDxxL7+Xisql3g32slkkIadE8dco0WA5vn2gU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KZhxEVv/u6xU3jPhdTFiJNm4xgRe6+GrPuNcp7G+t8p8qYEUBBg4rQeDnfhl2TONab9uwRE+ATangShiCukb38Co93ydXoXmsJB3sGGIaXz/BjkXyVL1o99GlkTUW5HUEYA+0dPPjS1Pwd9BUKhNNFZ9ZZva1uUgV4e4FtL/HBg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c9l4nbAk; 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="c9l4nbAk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74244C4CEF4; Wed, 1 Oct 2025 11:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319897; bh=ofJjOTTDxxL7+Xisql3g32slkkIadE8dco0WA5vn2gU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=c9l4nbAkgQP4EvvzlvjvAxIDq2Qqbbs26XEyeXlFsv3pNndtbqxzplwnQXHcRKg7/ BB56x/sCzCdZcK25/bLcP47unMAQlHtJYbCvAafg02rFqNQxyE0jikcRZHId7lFzOj mQUsrjAArxq/bPPwx/Htv09RZrfH21YuhVYOyXZw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53521: scsi: ses: Fix slab-out-of-bounds in ses_intf_remove() Date: Wed, 1 Oct 2025 13:46:13 +0200 Message-ID: <2025100133-CVE-2023-53521-15e2@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=2698; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Vs4OgokUMOsMWiDZeUfb61GGiKVpWlmu00tAnTxVeFg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RWKn1r1nbgm1YtF6a9Ud/n1946F+tfMNfyr7jdnkc gwPGUV1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwES+H2dYsEh5/r45ecdDY0N1 +T8eTAiolGBiZlhw0/qz1lGWUz0nmjzObJu/z+jj04M3AA== 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: Fix slab-out-of-bounds in ses_intf_remove() A fix for: BUG: KASAN: slab-out-of-bounds in ses_intf_remove+0x23f/0x270 [ses] Read of size 8 at addr ffff88a10d32e5d8 by task rmmod/12013 When edev->components is zero, accessing edev->component[0] members is wrong. The Linux kernel CVE team has assigned CVE-2023-53521 to this issue. Affected and fixed versions =========================== Fixed in 4.14.308 with commit 76f7050537476ac062ec23a544fbca8270f2d08b Fixed in 4.19.276 with commit 87e47be38d205df338c52ead43f23b2864567423 Fixed in 5.4.235 with commit 40af9a6deed723485e05b7d3255a28750692e8db Fixed in 5.10.173 with commit 8f9542cad6c27297c8391de3a659f0b7948495d0 Fixed in 5.15.99 with commit 0595cdb587726b4f0fa780eb7462e3679d141e82 Fixed in 6.1.16 with commit 82143faf01dda831b89eccef60c39ef8575ab08a Fixed in 6.2.3 with commit 2fb1fa8425cce2dc4dce298275d22d7077694b73 Fixed in 6.3 with commit 578797f0c8cbc2e3ec5fc0dab87087b4c7073686 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-53521 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/76f7050537476ac062ec23a544fbca8270f2d08b https://git.kernel.org/stable/c/87e47be38d205df338c52ead43f23b2864567423 https://git.kernel.org/stable/c/40af9a6deed723485e05b7d3255a28750692e8db https://git.kernel.org/stable/c/8f9542cad6c27297c8391de3a659f0b7948495d0 https://git.kernel.org/stable/c/0595cdb587726b4f0fa780eb7462e3679d141e82 https://git.kernel.org/stable/c/82143faf01dda831b89eccef60c39ef8575ab08a https://git.kernel.org/stable/c/2fb1fa8425cce2dc4dce298275d22d7077694b73 https://git.kernel.org/stable/c/578797f0c8cbc2e3ec5fc0dab87087b4c7073686