# CVE-2025-38124: net: fix udp gso skb\_segment after pull from frag\_list

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.71% (percentile 49, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-07-03T08:35:30.499Z
- **Modified:** 2026-10-15T01:06:36.018Z

## Who should check

- Anyone running Linux \>= 080e6c9a3908de193a48f646c5ce1bfb15676ffc, \< 0e65f38bd1aa14ea86e221b7bb814d38278d86c3; \>= af3122f5fdc0d00581d6e598a668df6bf54c9daa, \< 85eef1748c024da1a191aed56b30a3a65958c50c; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< 4399f59a9467a324ed46657555f0e1f209a14acb; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< a04302867094bdc6efac1b598370fc47cf3f2388; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< 3382a1ed7f778db841063f5d7e317ac55f9e7f72; 33e28acf42ee863f332a958bfc2f1a284a3659df; 3cd00d2e3655fad3bda96dc1ebf17b6495f86fea; \>= 6.1.113, \< 6.1.142; \>= 6.6.55, \< 6.6.94; \>= 6.10.14, \< 6.11; …
- Anyone running Linux 6.12

## Description

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

net: fix udp gso skb\_segment after pull from frag\_list

Commit a1e40ac5b5e9 ("net: gso: fix udp gso fraglist segmentation after
pull from frag\_list") detected invalid geometry in frag\_list skbs and
redirects them from skb\_segment\_list to more robust skb\_segment. But some
packets with modified geometry can also hit bugs in that code. We don't
know how many such cases exist. Addressing each one by one also requires
touching the complex skb\_segment code, which risks introducing bugs for
other types of skbs. Instead, linearize all these packets that fail the
basic invariants on gso fraglist skbs. That is more robust.

If only part of the fraglist payload is pulled into head\_skb, it will
always cause exception when splitting skbs by skb\_segment. For detailed
call stack information, see below.

Valid SKB\_GSO\_FRAGLIST skbs
- consist of two or more segments
- the head\_skb holds the protocol headers plus first gso\_size
- one or more frag\_list skbs hold exactly one segment
- all but the last must be gso\_size

Optional datapath hooks such as NAT and BPF (bpf\_skb\_pull\_data) can
modify fraglist skbs, breaking these invariants.

In extreme cases they pull one part of data into skb linear. For UDP,
this  causes three payloads with lengths of (11,11,10) bytes were
pulled tail to become (12,10,10) bytes.

The skbs no longer meets the above SKB\_GSO\_FRAGLIST conditions because
payload was pulled into head\_skb, it needs to be linearized before pass
to regular skb\_segment.

    skb\_segment+0xcd0/0xd14
    \_\_udp\_gso\_segment+0x334/0x5f4
    udp4\_ufo\_fragment+0x118/0x15c
    inet\_gso\_segment+0x164/0x338
    skb\_mac\_gso\_segment+0xc4/0x13c
    \_\_skb\_gso\_segment+0xc4/0x124
    validate\_xmit\_skb+0x9c/0x2c0
    validate\_xmit\_skb\_list+0x4c/0x80
    sch\_direct\_xmit+0x70/0x404
    \_\_dev\_queue\_xmit+0x64c/0xe5c
    neigh\_resolve\_output+0x178/0x1c4
    ip\_finish\_output2+0x37c/0x47c
    \_\_ip\_finish\_output+0x194/0x240
    ip\_finish\_output+0x20/0xf4
    ip\_output+0x100/0x1a0
    NF\_HOOK+0xc4/0x16c
    ip\_forward+0x314/0x32c
    ip\_rcv+0x90/0x118
    \_\_netif\_receive\_skb+0x74/0x124
    process\_backlog+0xe8/0x1a4
    \_\_napi\_poll+0x5c/0x1f8
    net\_rx\_action+0x154/0x314
    handle\_softirqs+0x154/0x4b8

    \[118.376811\] \[C201134\] rxq0\_pus: \[name:bug&\]kernel BUG at net/core/skbuff.c:4278!
    \[118.376829\] \[C201134\] rxq0\_pus: \[name:traps&\]Internal error: Oops - BUG: 00000000f2000800 \[\#1\] PREEMPT SMP
    \[118.470774\] \[C201134\] rxq0\_pus: \[name:mrdump&\]Kernel Offset: 0x178cc00000 from 0xffffffc008000000
    \[118.470810\] \[C201134\] rxq0\_pus: \[name:mrdump&\]PHYS\_OFFSET: 0x40000000
    \[118.470827\] \[C201134\] rxq0\_pus: \[name:mrdump&\]pstate: 60400005 (nZCv daif +PAN -UAO)
    \[118.470848\] \[C201134\] rxq0\_pus: \[name:mrdump&\]pc : \[0xffffffd79598aefc\] skb\_segment+0xcd0/0xd14
    \[118.470900\] \[C201134\] rxq0\_pus: \[name:mrdump&\]lr : \[0xffffffd79598a5e8\] skb\_segment+0x3bc/0xd14
    \[118.470928\] \[C201134\] rxq0\_pus: \[name:mrdump&\]sp : ffffffc008013770

## Affected and fixed versions

- Linux: \>= 080e6c9a3908de193a48f646c5ce1bfb15676ffc, \< 0e65f38bd1aa14ea86e221b7bb814d38278d86c3; \>= af3122f5fdc0d00581d6e598a668df6bf54c9daa, \< 85eef1748c024da1a191aed56b30a3a65958c50c; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< 4399f59a9467a324ed46657555f0e1f209a14acb; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< a04302867094bdc6efac1b598370fc47cf3f2388; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< 3382a1ed7f778db841063f5d7e317ac55f9e7f72; 33e28acf42ee863f332a958bfc2f1a284a3659df; 3cd00d2e3655fad3bda96dc1ebf17b6495f86fea; \>= 6.1.113, \< 6.1.142; \>= 6.6.55, \< 6.6.94; \>= 6.10.14, \< 6.11; … (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38124. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38124.md
Affected: Linux >= 080e6c9a3908de193a48f646c5ce1bfb15676ffc, < 0e65f38bd1aa14ea86e221b7bb814d38278d86c3; >= af3122f5fdc0d00581d6e598a668df6bf54c9daa, < 85eef1748c024da1a191aed56b30a3a65958c50c; >= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, < 4399f59a9467a324ed46657555f0e1f209a14acb; >= a1e40ac5b5e9077fe1f7ae0…
Fixed in: Linux 0e65f38bd1aa14ea86e221b7bb814d38278d86c3, Linux 85eef1748c024da1a191aed56b30a3a65958c50c, Linux 4399f59a9467a324ed46657555f0e1f209a14acb, Linux 3382a1ed7f778db841063f5d7e317ac55f9e7f72, Linux 6.1.142, Linux 6.6.94, Linux 6.11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38124 being exploited?

There is no confirmed exploitation: CVE-2025-38124 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38124?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-38124?

Linux \>= 080e6c9a3908de193a48f646c5ce1bfb15676ffc, \< 0e65f38bd1aa14ea86e221b7bb814d38278d86c3; \>= af3122f5fdc0d00581d6e598a668df6bf54c9daa, \< 85eef1748c024da1a191aed56b30a3a65958c50c; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< 4399f59a9467a324ed46657555f0e1f209a14acb; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< a04302867094bdc6efac1b598370fc47cf3f2388; \>= a1e40ac5b5e9077fe1f7ae0eb88034db0f9ae1ab, \< 3382a1ed7f778db841063f5d7e317ac55f9e7f72; 33e28acf42ee863f332a958bfc2f1a284a3659df; 3cd00d2e3655fad3bda96dc1ebf17b6495f86fea; \>= 6.1.113, \< 6.1.142; \>= 6.6.55, \< 6.6.94; \>= 6.10.14, \< 6.11; …; Linux 6.12.

### Is there a fix for CVE-2025-38124?

Yes. Fixed in Linux 0e65f38bd1aa14ea86e221b7bb814d38278d86c3, Linux 85eef1748c024da1a191aed56b30a3a65958c50c, Linux 4399f59a9467a324ed46657555f0e1f209a14acb, Linux 3382a1ed7f778db841063f5d7e317ac55f9e7f72, Linux 6.1.142, Linux 6.6.94, Linux 6.11. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38124?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0e65f38bd1aa14ea86e221b7bb814d38278d86c3>
- patch: <https://git.kernel.org/stable/c/85eef1748c024da1a191aed56b30a3a65958c50c>
- patch: <https://git.kernel.org/stable/c/4399f59a9467a324ed46657555f0e1f209a14acb>
- patch: <https://git.kernel.org/stable/c/a04302867094bdc6efac1b598370fc47cf3f2388>
- patch: <https://git.kernel.org/stable/c/3382a1ed7f778db841063f5d7e317ac55f9e7f72>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38124>

HTML: <https://flawdb.com/CVE-2025-38124> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38124>
