CVE-2025-38572
ipv6: reject malicious packets in ipv6_gso_segment()
Check your servers for CVE-2025-38572
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38572 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before 5dc60b2a00ed7629214ac0c48e43f40af2078703 affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before 3f638e0b28bde7c3354a0df938ab3a96739455d1 affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before 09ff062b89d8e48165247d677d1ca23d6d607e9b affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before de322cdf600fc9433845a9e944d1ca6b31cfb67e affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before ef05007b403dcc21e701cb1f30d4572ac0a9da20 affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before 5489e7fc6f8be3062f8cb7e49406de4bfd94db67 affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before 573b8250fc2554761db3bc2bbdbab23789d52d4e affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before ee851768e4b8371ce151fd446d24bf3ae2d18789 affected from d1da932ed4ecad2a14cbcc01ed589d617d0f0f09, before d45cf1e7d7180256e17c9ce88e32e8061a7887fe
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.148 up to and including 6.1.* unaffected from 6.6.102 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38572 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38572
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38572
trivy image --scanners vuln IMAGE | grep CVE-2025-38572
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5dc60b2a00ed7629214ac0c48e43f40af2078703 git.kernel.org
- https://git.kernel.org/stable/c/3f638e0b28bde7c3354a0df938ab3a96739455d1 git.kernel.org
- https://git.kernel.org/stable/c/09ff062b89d8e48165247d677d1ca23d6d607e9b git.kernel.org
- https://git.kernel.org/stable/c/de322cdf600fc9433845a9e944d1ca6b31cfb67e git.kernel.org
- https://git.kernel.org/stable/c/ef05007b403dcc21e701cb1f30d4572ac0a9da20 git.kernel.org
- https://git.kernel.org/stable/c/5489e7fc6f8be3062f8cb7e49406de4bfd94db67 git.kernel.org
- https://git.kernel.org/stable/c/573b8250fc2554761db3bc2bbdbab23789d52d4e git.kernel.org
- https://git.kernel.org/stable/c/ee851768e4b8371ce151fd446d24bf3ae2d18789 git.kernel.org
- https://git.kernel.org/stable/c/d45cf1e7d7180256e17c9ce88e32e8061a7887fe git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38572 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse