CVE-2026-43057: net: correctly handle tunneled traffic on IPV6_CSUM GSO fallback
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: correctly handle tunneled traffic on IPV6_CSUM GSO fallback
NETIF_F_IPV6_CSUM only advertises support for checksum offload of packets without IPv6 extension headers. Packets with extension headers must fall back onto software checksumming. Since TSO depends on checksum offload, those must revert to GSO.
The below commit introduces that fallback. It always checks network header length. For tunneled packets, the inner header length must be checked instead. Extend the check accordingly.
A special case is tunneled packets without inner IP protocol. Such as RFC 6951 SCTP in UDP. Those are not standard IPv6 followed by transport header either, so also must revert to the software GSO path.
The Linux kernel CVE team has assigned CVE-2026-43057 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.1.149 with commit a0478d7e888028f85fa7785ea838ce0ca09398e2 and fixed in 6.1.168 with commit 2094a7cf91b71367b649f991aacc7b579f793d0b Issue introduced in 6.6.103 with commit 2156d9e9f2e483c8c3906c0ea57ea312c1424235 and fixed in 6.6.134 with commit ed71cf465c75f5688b07a35d373cd1d6b589c8ea Issue introduced in 6.12.44 with commit 041e2f945f82fdbd6fff577b79c33469430297aa and fixed in 6.12.81 with commit 33670f780e0120c3dacda188c512bbffe0b6044c Issue introduced in 6.17 with commit 864e3396976ef41de6cc7bc366276bf4e084fff2 and fixed in 6.18.22 with commit a98b78116a27e2a57b696b569b2cb431c95cf9b6 Issue introduced in 6.17 with commit 864e3396976ef41de6cc7bc366276bf4e084fff2 and fixed in 6.19.12 with commit 732fdeb2987c94b439d51f5cb9addddc2fc48c42 Issue introduced in 6.17 with commit 864e3396976ef41de6cc7bc366276bf4e084fff2 and fixed in 7.0 with commit c4336a07eb6b2526dc2b62928b5104b41a7f81f5 Issue introduced in 6.16.4 with commit 794ddbb7b63b6828c75967b9bcd43b086716e7a1
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-43057
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/core/dev.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/2094a7cf91b71367b649f991aacc7b579f793d0b https://git.kernel.org/stable/c/ed71cf465c75f5688b07a35d373cd1d6b589c8ea https://git.kernel.org/stable/c/33670f780e0120c3dacda188c512bbffe0b6044c https://git.kernel.org/stable/c/a98b78116a27e2a57b696b569b2cb431c95cf9b6 https://git.kernel.org/stable/c/732fdeb2987c94b439d51f5cb9addddc2fc48c42 https://git.kernel.org/stable/c/c4336a07eb6b2526dc2b62928b5104b41a7f81f5