[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100442-CVE-2023-53535-c515@gregkh>
Date: Sat, 4 Oct 2025 17:16:49 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53535: net: bcmgenet: Add a check for oversized packets
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists