# CVE-2025-21926: net: gso: fix ownership in \_\_udp\_gso\_segment

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-04-01T15:40:57.882Z
- **Modified:** 2026-11-10T13:17:39.567Z

## Who should check

- Anyone running Linux \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 9f28205ddb76e86cac418332e952241d85fed0dc; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< a2d1cca955ed34873e524cc2e6e885450d262f05; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 455217ac9db0cf9349b3933664355e907bb1a569; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< e8db70537878e1bb3fd83e5abcc6feefc0587828; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 01a83237644d6822bc7df2c5564fc81b0df84358; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 084819b0d8b1bd433b90142371eb9450d657f8ca; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< ee01b2f2d7d0010787c2343463965bbc283a497f
- Anyone running Linux 4.18

## Description

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

net: gso: fix ownership in \_\_udp\_gso\_segment

In \_\_udp\_gso\_segment the skb destructor is removed before segmenting the
skb but the socket reference is kept as-is. This is an issue if the
original skb is later orphaned as we can hit the following bug:

  kernel BUG at ./include/linux/skbuff.h:3312!  (skb\_orphan)
  RIP: 0010:ip\_rcv\_core+0x8b2/0xca0
  Call Trace:
   ip\_rcv+0xab/0x6e0
   \_\_netif\_receive\_skb\_one\_core+0x168/0x1b0
   process\_backlog+0x384/0x1100
   \_\_napi\_poll.constprop.0+0xa1/0x370
   net\_rx\_action+0x925/0xe50

The above can happen following a sequence of events when using
OpenVSwitch, when an OVS\_ACTION\_ATTR\_USERSPACE action precedes an
OVS\_ACTION\_ATTR\_OUTPUT action:

1. OVS\_ACTION\_ATTR\_USERSPACE is handled (in do\_execute\_actions): the skb
   goes through queue\_gso\_packets and then \_\_udp\_gso\_segment, where its
   destructor is removed.
2. The segments' data are copied and sent to userspace.
3. OVS\_ACTION\_ATTR\_OUTPUT is handled (in do\_execute\_actions) and the
   same original skb is sent to its path.
4. If it later hits skb\_orphan, we hit the bug.

Fix this by also removing the reference to the socket in
\_\_udp\_gso\_segment.

## Affected and fixed versions

- Linux: \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 9f28205ddb76e86cac418332e952241d85fed0dc; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< a2d1cca955ed34873e524cc2e6e885450d262f05; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 455217ac9db0cf9349b3933664355e907bb1a569; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< e8db70537878e1bb3fd83e5abcc6feefc0587828; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 01a83237644d6822bc7df2c5564fc81b0df84358; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 084819b0d8b1bd433b90142371eb9450d657f8ca; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< ee01b2f2d7d0010787c2343463965bbc283a497f (cvelist)
- Linux: 4.18 (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-21926. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21926.md
Affected: Linux >= ad405857b174ed31a97982bb129c320d03321cf5, < 9f28205ddb76e86cac418332e952241d85fed0dc; >= ad405857b174ed31a97982bb129c320d03321cf5, < a2d1cca955ed34873e524cc2e6e885450d262f05; >= ad405857b174ed31a97982bb129c320d03321cf5, < 455217ac9db0cf9349b3933664355e907bb1a569; >= ad405857b174ed31a97982b…
Fixed in: Linux 9f28205ddb76e86cac418332e952241d85fed0dc, Linux 455217ac9db0cf9349b3933664355e907bb1a569, Linux 01a83237644d6822bc7df2c5564fc81b0df84358, Linux 084819b0d8b1bd433b90142371eb9450d657f8ca

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-21926 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 9f28205ddb76e86cac418332e952241d85fed0dc; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< a2d1cca955ed34873e524cc2e6e885450d262f05; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 455217ac9db0cf9349b3933664355e907bb1a569; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< e8db70537878e1bb3fd83e5abcc6feefc0587828; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 01a83237644d6822bc7df2c5564fc81b0df84358; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< 084819b0d8b1bd433b90142371eb9450d657f8ca; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b; \>= ad405857b174ed31a97982bb129c320d03321cf5, \< ee01b2f2d7d0010787c2343463965bbc283a497f; Linux 4.18.

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

Yes. Fixed in Linux 9f28205ddb76e86cac418332e952241d85fed0dc, Linux 455217ac9db0cf9349b3933664355e907bb1a569, Linux 01a83237644d6822bc7df2c5564fc81b0df84358, Linux 084819b0d8b1bd433b90142371eb9450d657f8ca. No fix listed yet: follow the vendor advisory.

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

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/9f28205ddb76e86cac418332e952241d85fed0dc>
- patch: <https://git.kernel.org/stable/c/a2d1cca955ed34873e524cc2e6e885450d262f05>
- patch: <https://git.kernel.org/stable/c/455217ac9db0cf9349b3933664355e907bb1a569>
- patch: <https://git.kernel.org/stable/c/e8db70537878e1bb3fd83e5abcc6feefc0587828>
- patch: <https://git.kernel.org/stable/c/01a83237644d6822bc7df2c5564fc81b0df84358>
- patch: <https://git.kernel.org/stable/c/084819b0d8b1bd433b90142371eb9450d657f8ca>
- patch: <https://git.kernel.org/stable/c/c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b>
- patch: <https://git.kernel.org/stable/c/ee01b2f2d7d0010787c2343463965bbc283a497f>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-21926>

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