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 075AD302151 for ; Thu, 18 Sep 2025 13:35:19 +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=1758202520; cv=none; b=H0W7sGZ+WMQZ5s+OOQoBPviBoyR5+/g1Z2PcjnbhZKE0uCRMbYxTXlgfaGlcPe9M3GUgCcrhCa6M3/DXfUvMVpLwsBPonRJx7Gcu8bER51mmheqxb+wtoGPdT+uYseVcwPXEi9pgGyfvwfZl7YhDWfmnjdBdE3wyNYf63UN+i0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202520; c=relaxed/simple; bh=GLOeCKr8oDFSQb6XxpYYtRuJePvEQR8RAh8JwsQN7Pk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OxQMZMhtGBg4oCRXtulCcYqCDa+GSWyXxq8MR66lSdPWUexV1SQWQ1JtGwZef6hCpWCDgiueCQhvXFi6zUxC/WfdZ9oKTntNSwDn+VrCo8IcmteCzd7b/vNX9KqlJUldTO1aSlXoPubSwEhHMIuYiinCiplPbmw/FYaFngCOuMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Bzn7VXXN; 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="Bzn7VXXN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1351CC4CEE7; Thu, 18 Sep 2025 13:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202519; bh=GLOeCKr8oDFSQb6XxpYYtRuJePvEQR8RAh8JwsQN7Pk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Bzn7VXXNe0HB7rAwb9FMVgy/dMkQ2LfREfCLK/o6tgswrHK14MDT2YWx5Qem6SnGG NLnk+poWRyDN2IoWu5QRQwctGjvwt6jSVzkQvl5/YcnpM/6o691tfGg7a7gx5h93xZ hq3q6Xd4hdXEOG1faqj9g+fbzUUorNi+uZr9NHe8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53372: sctp: fix a potential overflow in sctp_ifwdtsn_skip Date: Thu, 18 Sep 2025 15:34:17 +0200 Message-ID: <2025091855-CVE-2023-53372-4d9e@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=3343; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9FsCBXUyNFantBIZcFBzLqHozWQXkrcKg+GZjkxms3w=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuJx3vDLPfBG5ZP2Zd/9cF+83ELe3v+XjUujV+WnvA ZbuGcYeHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRJm+GuTLCD1gPq82QnGh2 /0/DEYP6HjO/gwzz0zi3uJ8uWrJxXc/fjey7gt8eqTGNBAA= 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: sctp: fix a potential overflow in sctp_ifwdtsn_skip Currently, when traversing ifwdtsn skips with _sctp_walk_ifwdtsn, it only checks the pos against the end of the chunk. However, the data left for the last pos may be < sizeof(struct sctp_ifwdtsn_skip), and dereference it as struct sctp_ifwdtsn_skip may cause coverflow. This patch fixes it by checking the pos against "the end of the chunk - sizeof(struct sctp_ifwdtsn_skip)" in sctp_ifwdtsn_skip, similar to sctp_fwdtsn_skip. The Linux kernel CVE team has assigned CVE-2023-53372 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 4.19.281 with commit 4fbd094d4131a10d06a45d64158567052a35b3f4 Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 5.4.241 with commit ad831a7079c99c01e801764b53bc9997c2e9c0f7 Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 5.10.178 with commit 79b28f42214a3d0d6a8c514db3602260bd5d6cb5 Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 5.15.108 with commit 6109f5b13ce3e3e537db6f18976ec0e9118d1c6f Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 6.1.25 with commit 5c9367ac5a22d71841bcd00130f9146c9b227d57 Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 6.2.12 with commit ad988e9b5ff04607e624a459209e8c2d0c15fc73 Issue introduced in 4.16 with commit 0fc2ea922c8ad5520c80f03facbf396c81dce802 and fixed in 6.3 with commit 32832a2caf82663870126c5186cf8f86c8b2a649 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-53372 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: net/sctp/stream_interleave.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/4fbd094d4131a10d06a45d64158567052a35b3f4 https://git.kernel.org/stable/c/ad831a7079c99c01e801764b53bc9997c2e9c0f7 https://git.kernel.org/stable/c/79b28f42214a3d0d6a8c514db3602260bd5d6cb5 https://git.kernel.org/stable/c/6109f5b13ce3e3e537db6f18976ec0e9118d1c6f https://git.kernel.org/stable/c/5c9367ac5a22d71841bcd00130f9146c9b227d57 https://git.kernel.org/stable/c/ad988e9b5ff04607e624a459209e8c2d0c15fc73 https://git.kernel.org/stable/c/32832a2caf82663870126c5186cf8f86c8b2a649