CVE-2026-45952: eth: fbnic: Add validation for MTU changes
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
eth: fbnic: Add validation for MTU changes
Increasing the MTU beyond the HDS threshold causes the hardware to fragment packets across multiple buffers. If a single-buffer XDP program is attached, the driver will drop all multi-frag frames. While we can't prevent a remote sender from sending non-TCP packets larger than the MTU, this will prevent users from inadvertently breaking new TCP streams.
Traditionally, drivers supported XDP with MTU less than 4Kb (packet per page). Fbnic currently prevents attaching XDP when MTU is too high. But it does not prevent increasing MTU after XDP is attached.
The Linux kernel CVE team has assigned CVE-2026-45952 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit 1b0a3950dbd4fa278dc33401a4faba2a23307a16 and fixed in 6.18.14 with commit d7eaa006c0444a5d4671be7efe6dbb33ef8b515e Issue introduced in 6.18 with commit 1b0a3950dbd4fa278dc33401a4faba2a23307a16 and fixed in 6.19.4 with commit 03399063aa0c67fd8bdfd69467ddb849bb3b97df Issue introduced in 6.18 with commit 1b0a3950dbd4fa278dc33401a4faba2a23307a16 and fixed in 7.0 with commit ccd8e87748ad083047d6c8544c5809b7f96cc8df
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-2026-45952
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/meta/fbnic/fbnic_netdev.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/d7eaa006c0444a5d4671be7efe6dbb33ef8b515e https://git.kernel.org/stable/c/03399063aa0c67fd8bdfd69467ddb849bb3b97df https://git.kernel.org/stable/c/ccd8e87748ad083047d6c8544c5809b7f96cc8df