CVE-2025-38572

ipv6: reject malicious packets in ipv6_gso_segment()

HIGH
7.8
CVSS Score
Published: August 19, 2025 at 05:02 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: reject malicious packets in ipv6_gso_segment() syzbot was able to craft a packet with very long IPv6 extension headers leading to an overflow of skb->transport_header. This 16bit field has a limited range. Add skb_reset_transport_header_careful() helper and use it from ipv6_gso_segment() WARNING: CPU: 0 PID: 5871 at ./include/linux/skbuff.h:3032 skb_reset_transport_header include/linux/skbuff.h:3032 [inline] WARNING: CPU: 0 PID: 5871 at ./include/linux/skbuff.h:3032 ipv6_gso_segment+0x15e2/0x21e0 net/ipv6/ip6_offload.c:151 Modules linked in: CPU: 0 UID: 0 PID: 5871 Comm: syz-executor211 Not tainted 6.16.0-rc6-syzkaller-g7abc678e3084 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:skb_reset_transport_header include/linux/skbuff.h:3032 [inline] RIP: 0010:ipv6_gso_segment+0x15e2/0x21e0 net/ipv6/ip6_offload.c:151 Call Trace: <TASK> skb_mac_gso_segment+0x31c/0x640 net/core/gso.c:53 nsh_gso_segment+0x54a/0xe10 net/nsh/nsh.c:110 skb_mac_gso_segment+0x31c/0x640 net/core/gso.c:53 __skb_gso_segment+0x342/0x510 net/core/gso.c:124 skb_gso_segment include/net/gso.h:83 [inline] validate_xmit_skb+0x857/0x11b0 net/core/dev.c:3950 validate_xmit_skb_list+0x84/0x120 net/core/dev.c:4000 sch_direct_xmit+0xd3/0x4b0 net/sched/sch_generic.c:329 __dev_xmit_skb net/core/dev.c:4102 [inline] __dev_queue_xmit+0x17b6/0x3a70 net/core/dev.c:4679

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.8 ≤ v < 5.10.2413.8 ≤ v < 5.15.1903.8 ≤ v < 5.4.2973.8 ≤ v < 6.1.1483.8 ≤ v < 6.12.423.8 ≤ v < 6.15.103.8 ≤ v < 6.16.13.8 ≤ v < 6.173.8 ≤ v < 6.6.1025.11 ≤ v < 5.15.1905.16 ≤ v < 6.1.1485.5 ≤ v < 5.10.2416.13 ≤ v < 6.15.106.16 ≤ v < 6.16.16.2 ≤ v < 6.6.1026.7 ≤ v < 6.12.423.8d1da932ed4ecad2a14cbcc01ed589d617d0f0f09
Vendor states this is fixed in 09ff062b89d8e48165247d677d1ca23d6d607e9b (fixed)
Vendor states this is fixed in 3f638e0b28bde7c3354a0df938ab3a96739455d1 (fixed)
Vendor states this is fixed in 5489e7fc6f8be3062f8cb7e49406de4bfd94db67 (fixed)
Vendor states this is fixed in 573b8250fc2554761db3bc2bbdbab23789d52d4e (fixed)
Vendor states this is fixed in 5dc60b2a00ed7629214ac0c48e43f40af2078703 (fixed)
Vendor states this is fixed in d45cf1e7d7180256e17c9ce88e32e8061a7887fe (fixed)
Vendor states this is fixed in de322cdf600fc9433845a9e944d1ca6b31cfb67e (fixed)
Vendor states this is fixed in ee851768e4b8371ce151fd446d24bf3ae2d18789 (fixed)
Vendor states this is fixed in ef05007b403dcc21e701cb1f30d4572ac0a9da20 (fixed)
Vendor states this is fixed in 3.8 (unaffected)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.148 (unaffected)
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.102 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/09ff062b89d8e48165247d677d1ca23d6d607e9b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3f638e0b28bde7c3354a0df938ab3a96739455d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5489e7fc6f8be3062f8cb7e49406de4bfd94db67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/573b8250fc2554761db3bc2bbdbab23789d52d4e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5dc60b2a00ed7629214ac0c48e43f40af2078703
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d45cf1e7d7180256e17c9ce88e32e8061a7887fe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/de322cdf600fc9433845a9e944d1ca6b31cfb67e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ee851768e4b8371ce151fd446d24bf3ae2d18789

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card