CVE-2025-21629

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21629
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21629.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21629
Downstream
Related
Published
2025-01-15T13:06:00.128Z
Modified
2025-11-27T02:32:28.129385Z
Summary
net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets
Details

In the Linux kernel, the following vulnerability has been resolved:

net: reenable NETIFFIPV6_CSUM offload for BIG TCP packets

The blamed commit disabled hardware offoad of IPv6 packets with extension headers on devices that advertise NETIFFIPV6_CSUM, based on the definition of that feature in skbuff.h:

* * - %NETIFFIPV6CSUM * - 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 * NETIFFHWCSUM also set. This feature is being * DEPRECATED (see below).

The change causes skbwarnbad_offload to fire for BIG TCP packets.

[ 496.310233] WARNING: CPU: 13 PID: 23472 at net/core/dev.c:3129 skbwarnbad_offload+0xc4/0xe0

[ 496.310297] ? skbwarnbadoffload+0xc4/0xe0 [ 496.310300] skbchecksumhelp+0x129/0x1f0 [ 496.310303] skbcsumhwoffloadhelp+0x150/0x1b0 [ 496.310306] validatexmitskb+0x159/0x270 [ 496.310309] validatexmitskblist+0x41/0x70 [ 496.310312] schdirectxmit+0x5c/0x250 [ 496.310317] _qdisc_run+0x388/0x620

BIG TCP introduced an IPV6TLVJUMBO 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.

ipv6hashopopt_jumbo() tests not only whether this header is present, but also that it is the only extension header before a terminal (L4) header.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2025/21xxx/CVE-2025-21629.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a84978a9cda68f0afe3f01d476c68db21526baf1
Fixed
ac9cfef69565021c9e1022a493a9c40b03e2caf9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c69bc67c1cb211aa390bea6e512bb01b1241fefb
Fixed
95ccf006bbc8b59044313b8c309dcf29c546abd4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
04c20a9356f283da623903e81e7c6d5df7e4dc3c
Fixed
d3b7a9c7597b779039a51d7b34116fbe424bf2b7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
04c20a9356f283da623903e81e7c6d5df7e4dc3c
Fixed
68e068cabd2c6c533ef934c2e5151609cf6ecc6d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
bcefc3cd7f592a70fcbbbfd7ad1fbc69172ea78b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
477b35d94a21530046fe91589960732fcf2b29ed
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
a27a5c40ee4cbe00294e2c76160de5f2589061ba
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
9f605135a5c0fe614c2b15197b9ced1e217eca59
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
705350fbd6ed4b5d89ee045fa57a0594a72b17d7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.1.124
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.70
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.9