CVE-2025-21629 net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Linux KernelUbuntuDebian
Description
In the Linux kernel, the following vulnerability has been resolved:
net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets
The blamed commit disabled hardware offoad of IPv6 packets with
extension headers on devices that advertise NETIF_F_IPV6_CSUM,
based on the definition of that feature in skbuff.h:
-
-
- %NETIF_F_IPV6_CSUM
-
-
- Driver (device) is only able to checksum plain -
TCP or UDP packets over IPv6. These are specifically -
unencapsulated packets of the form IPv6|TCP or -
IPv6|UDP where the Next Header field in the IPv6 -
header is either TCP or UDP. IPv6 extension headers -
are not supported with this feature. This feature -
cannot be set in features for a device with -
NETIF_F_HW_CSUM also set. This feature is being -
DEPRECATED (see below).
The change causes skb_warn_bad_offload to fire for BIG TCP
packets.
[ 496.310233] WARNING: CPU: 13 PID: 23472 at net/core/dev.c:3129 skb_warn_bad_offload+0xc4/0xe0
[ 496.310297] ? skb_warn_bad_offload+0xc4/0xe0
[ 496.310300] skb_checksum_help+0x129/0x1f0
[ 496.310303] skb_csum_hwoffload_help+0x150/0x1b0
[ 496.310306] validate_xmit_skb+0x159/0x270
[ 496.310309] validate_xmit_skb_list+0x41/0x70
[ 496.310312] sch_direct_xmit+0x5c/0x250
[ 496.310317] __qdisc_run+0x388/0x620
BIG TCP introduced an IPV6_TLV_JUMBO IPv6 extension header to
communicate packet length, as this is an IPv6 jumbogram. But, the
feature is only enabled on devices that support BIG TCP TSO. The
header is only present for PF_PACKET taps like tcpdump, and not
transmitted by physical devices.
For this specific case of extension headers that are not
transmitted, return to the situation before the blamed commit
and support hardware offload.
ipv6_has_hopopt_jumbo() tests not only whether this header is present,
but also that it is the only extension header before a terminal (L4)
header.
Upgrade path
9 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cbl-mariner kernel(CBL-Mariner 2.0) | All versions | No fix listed | No fix yet |
| Microsoft cbl2 kernel 5.15.202.1-1 | All versions | No fix listed | No fix yet |
| ubuntu/linux(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/linux-kvm(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/linux-raspi(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| debian/linux(Debian 12) | < 6.1.124-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +30 more | 6.1.124-1 | Fixed |
| debian/linux(Debian 13) | < 6.12.9-1 | 6.12.9-1 | Fixed |
| debian/linux(Debian 14) | < 6.12.9-1 | 6.12.9-1 | Fixed |
| Linux kernel | < 6.1.124; < 6.6.70; < 6.12.9; < 6.13 +25 more | 4.20, 5.5, 5.11, 5.16, 6.1.124, 6.6.70, 6.12, 6.12.9, 6.13, 68e068cabd2c6c533ef934c2e5151609cf6ecc6d, 95ccf006bbc8b59044313b8c309dcf29c546abd4, ac9cfef69565021c9e1022a493a9c40b03e2caf9, d3b7a9c7597b779039a51d7b34116fbe424bf2b7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner kernel(CBL-Mariner:2.0) | All versions | No fix listed |
| Microsoft cbl2 kernel 5.15.202.1-1 | All versions | No fix listed |
| debian/linux(Debian:12) | < 6.1.124-1 | 6.1.124-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.115-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.119-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.123-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.12.9-1 | 6.12.9-1 |
| debian/linux(Debian:14) | < 6.12.9-1 | 6.12.9-1 |
| Linux kernel | >= a84978a9cda68f0afe3f01d476c68db21526baf1, < ac9cfef69565021c9e1022a493a9c40b03e2caf9 | ac9cfef69565021c9e1022a493a9c40b03e2caf9 |
| Linux kernel | >= c69bc67c1cb211aa390bea6e512bb01b1241fefb, < 95ccf006bbc8b59044313b8c309dcf29c546abd4 | 95ccf006bbc8b59044313b8c309dcf29c546abd4 |
| Linux kernel | >= 04c20a9356f283da623903e81e7c6d5df7e4dc3c, < d3b7a9c7597b779039a51d7b34116fbe424bf2b7 | d3b7a9c7597b779039a51d7b34116fbe424bf2b7 |
| Linux kernel | >= 04c20a9356f283da623903e81e7c6d5df7e4dc3c, < 68e068cabd2c6c533ef934c2e5151609cf6ecc6d | 68e068cabd2c6c533ef934c2e5151609cf6ecc6d |
| Linux kernel | = bcefc3cd7f592a70fcbbbfd7ad1fbc69172ea78b | No fix listed |
| Linux kernel | = 477b35d94a21530046fe91589960732fcf2b29ed | No fix listed |
| Linux kernel | = a27a5c40ee4cbe00294e2c76160de5f2589061ba | No fix listed |
| Linux kernel | = 9f605135a5c0fe614c2b15197b9ced1e217eca59 | No fix listed |
| Linux kernel | = 705350fbd6ed4b5d89ee045fa57a0594a72b17d7 | No fix listed |
| Linux kernel | >= 6.1.116, < 6.1.124 | 6.1.124 |
| Linux kernel | >= 6.6.60, < 6.6.70 | 6.6.70 |
| Linux kernel | >= 4.19.323, < 4.20 | 4.20 |
| Linux kernel | >= 5.4.285, < 5.5 | 5.5 |
| Linux kernel | >= 5.10.229, < 5.11 | 5.11 |
| Linux kernel | >= 5.15.171, < 5.16 | 5.16 |
| Linux kernel | >= 6.11.7, < 6.12 | 6.12 |
| Linux kernel | = 6.12 | No fix listed |
| Linux kernel | < 6.1.124 | 6.1.124 |
| Linux kernel | < 6.6.70 | 6.6.70 |
| Linux kernel | < 6.12.9 | 6.12.9 |
| Linux kernel | < 6.13 | 6.13 |
| ubuntu/linux(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/linux-kvm(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/linux-raspi(Ubuntu:22.04) | All versions | No fix listed |
| Linux kernel | >= 6.12.1, < 6.12.9 | 6.12.9 |
| Linux kernel | = 6.12-rc6 | No fix listed |
| Linux kernel | = 6.12-rc7 | No fix listed |
| Linux kernel | = 6.13-rc1 | No fix listed |
| Linux kernel | = 6.13-rc2 | No fix listed |
| Linux kernel | = 6.13-rc3 | No fix listed |
| Linux kernel | = 6.13-rc4 | No fix listed |
| Linux kernel | = 6.13-rc5 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2025-21629 vendor-advisory
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-7379-1 vendor-advisory
- USN-7380-1 vendor-advisory
- USN-7381-1 vendor-advisory
- USN-7382-1 vendor-advisory
- USN-7379-2 vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2025-2578 third-party-advisory