CVE-2025-21629
N/A
Summary
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 plainTCP or UDP packets over IPv6. These are specificallyunencapsulated packets of the form IPv6|TCP orIPv6|UDP where the Next Header field in the IPv6header is either TCP or UDP. IPv6 extension headersare not supported with this feature. This featurecannot be set in features for a device withNETIF_F_HW_CSUM also set. This feature is beingDEPRECATED (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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | a84978a9cda68f0afe3f01d476c68db21526baf1 < ac9cfef69565021c9e1022a493a9c40b03e2caf9 | affected |
| Linux | Linux | c69bc67c1cb211aa390bea6e512bb01b1241fefb < 95ccf006bbc8b59044313b8c309dcf29c546abd4 | affected |
| Linux | Linux | 04c20a9356f283da623903e81e7c6d5df7e4dc3c < d3b7a9c7597b779039a51d7b34116fbe424bf2b7 | affected |
| Linux | Linux | 04c20a9356f283da623903e81e7c6d5df7e4dc3c < 68e068cabd2c6c533ef934c2e5151609cf6ecc6d | affected |
| Linux | Linux | bcefc3cd7f592a70fcbbbfd7ad1fbc69172ea78b | affected |
| Linux | Linux | 477b35d94a21530046fe91589960732fcf2b29ed | affected |
| Linux | Linux | a27a5c40ee4cbe00294e2c76160de5f2589061ba | affected |
| Linux | Linux | 9f605135a5c0fe614c2b15197b9ced1e217eca59 | affected |
| Linux | Linux | 705350fbd6ed4b5d89ee045fa57a0594a72b17d7 | affected |
| Linux | Linux | 6.1.116 < 6.1.124 | affected |
| Linux | Linux | 6.6.60 < 6.6.70 | affected |
| Linux | Linux | 4.19.323 < 4.20 | affected |
| Linux | Linux | 5.4.285 < 5.5 | affected |
| Linux | Linux | 5.10.229 < 5.11 | affected |
| Linux | Linux | 5.15.171 < 5.16 | affected |
| Linux | Linux | 6.11.7 < 6.12 | affected |
| Linux | Linux | 6.12 | affected |
| Linux | Linux | 0 < 6.12 | unaffected |
| Linux | Linux | 6.1.124 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.70 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.9 <= 6.12.* | unaffected |
| Linux | Linux | 6.13 <= * | unaffected |
Weaknesses
ADP Enrichment
CVE Program Container
Additional References
References
- https://git.kernel.org/stable/c/ac9cfef69565021c9e1022a493a9c40b03e2caf9
- https://git.kernel.org/stable/c/95ccf006bbc8b59044313b8c309dcf29c546abd4
- https://git.kernel.org/stable/c/d3b7a9c7597b779039a51d7b34116fbe424bf2b7
- https://git.kernel.org/stable/c/68e068cabd2c6c533ef934c2e5151609cf6ecc6d
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.