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 062DC26E175 for ; Sat, 4 Oct 2025 15:17:34 +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=1759591055; cv=none; b=d8FPSCdWthjxyqDlxxoLURkomg/uTSJVjmfpedTFqN6h80DiUxppymCdYinL0KuMr5cjHHDRmV2/HHiW8Wk2gEJKwuCT20e5KZRNacUcZt0K9ift2S5g4GGVq84dUhfhrCLnFgUsHkFCdLBLSsD1GusDg/YHb0/ZUsMa6mUzXa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591055; c=relaxed/simple; bh=i83too+YG+p2uVpbspxCAo2I191P2OFv3pRN9L3IYQQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IZ6TgbWlDq7S1+XkxQ6ATj+sDzLGC0hqArRHkMGy5A8joocvZrFo528xRMni7h4TnOP5y5UrCJSX9eg86lQrKg3AnWfWYWPeeooVmOGVJw22Mor3X4dnuUgeCvRGgZnTHFnBFm3FRvxhNzwU74r9e/dqEeZsUPzJKL8AzS4fM84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=haFuoRp/; 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="haFuoRp/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4175DC4CEF1; Sat, 4 Oct 2025 15:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591054; bh=i83too+YG+p2uVpbspxCAo2I191P2OFv3pRN9L3IYQQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=haFuoRp/fQYjUlwTLGAIc6wpjVR3JT3Clnu4/IGhct1O874vr6FhchD4lUUHKO+MQ ocn9isCg3hL3cdjTQrLLatLlRjYNwolD9TXIl7jZ24+kwEGe/phPW5ZRwekBVYAChV 3m2159UkvW8hbmzW55pHuQMRvxmaJQ/E0wJ5rUUM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53535: net: bcmgenet: Add a check for oversized packets Date: Sat, 4 Oct 2025 17:16:49 +0200 Message-ID: <2025100442-CVE-2023-53535-c515@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=2743; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eEOAdv5Mg2O3RvVZ0kmUO+MFl+1Wgzly2gzW3vwBiWg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPraK0zTZfOyzw9KmqU49D2M5csWcrSiXub33uoJ7Bv Hbf18NrO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiJ/IZFnTEGbivmLuV52NM XU3nhZwFXr98/zLMr3AOPyVyObWsIVtRfOP1Fu/vnS8lAQ== 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: net: bcmgenet: Add a check for oversized packets Occasionnaly we may get oversized packets from the hardware which exceed the nomimal 2KiB buffer size we allocate SKBs with. Add an early check which drops the packet to avoid invoking skb_over_panic() and move on to processing the next packet. The Linux kernel CVE team has assigned CVE-2023-53535 to this issue. Affected and fixed versions =========================== Fixed in 4.14.308 with commit 7cdb07e10c1258c08f31b24898930e4ece88d163 Fixed in 4.19.276 with commit c34b1c0870323649d45c5074828d7f754dea2673 Fixed in 5.4.235 with commit 87363d1ab55e497702a9506ff423c422639c8a25 Fixed in 5.10.173 with commit 841881320562cbeac7046b537b91cd000480cea2 Fixed in 5.15.99 with commit 124ca24e0de958d2e20e0aa1e2434af7b72f8887 Fixed in 6.1.16 with commit 5f56767fb5f2df875b6553e08dbec6a45431c988 Fixed in 6.2.3 with commit 411317d2a4a7d6049d8efeef0d32ae43f8baefce Fixed in 6.3 with commit 5c0862c2c962052ed5055220a00ac1cefb92fbcd 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-53535 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/net/ethernet/broadcom/genet/bcmgenet.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/7cdb07e10c1258c08f31b24898930e4ece88d163 https://git.kernel.org/stable/c/c34b1c0870323649d45c5074828d7f754dea2673 https://git.kernel.org/stable/c/87363d1ab55e497702a9506ff423c422639c8a25 https://git.kernel.org/stable/c/841881320562cbeac7046b537b91cd000480cea2 https://git.kernel.org/stable/c/124ca24e0de958d2e20e0aa1e2434af7b72f8887 https://git.kernel.org/stable/c/5f56767fb5f2df875b6553e08dbec6a45431c988 https://git.kernel.org/stable/c/411317d2a4a7d6049d8efeef0d32ae43f8baefce https://git.kernel.org/stable/c/5c0862c2c962052ed5055220a00ac1cefb92fbcd