CVE-2025-21926
net: gso: fix ownership in __udp_gso_segment
Check your servers for CVE-2025-21926
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-21926 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:
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.
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.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ad405857b174ed31a97982bb129c320d03321cf5, before 9f28205ddb76e86cac418332e952241d85fed0dc affected from ad405857b174ed31a97982bb129c320d03321cf5, before a2d1cca955ed34873e524cc2e6e885450d262f05 affected from ad405857b174ed31a97982bb129c320d03321cf5, before 455217ac9db0cf9349b3933664355e907bb1a569 affected from ad405857b174ed31a97982bb129c320d03321cf5, before e8db70537878e1bb3fd83e5abcc6feefc0587828 affected from ad405857b174ed31a97982bb129c320d03321cf5, before 01a83237644d6822bc7df2c5564fc81b0df84358 affected from ad405857b174ed31a97982bb129c320d03321cf5, before 084819b0d8b1bd433b90142371eb9450d657f8ca affected from ad405857b174ed31a97982bb129c320d03321cf5, before c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b affected from ad405857b174ed31a97982bb129c320d03321cf5, before ee01b2f2d7d0010787c2343463965bbc283a497f
Other versions: unaffected
|
| Linux |
affected 4.18 unaffected before 4.18 unaffected from 5.4.291 up to and including 5.4.* unaffected from 5.10.235 up to and including 5.10.* unaffected from 5.15.179 up to and including 5.15.* unaffected from 6.1.131 up to and including 6.1.* unaffected from 6.6.83 up to and including 6.6.* unaffected from 6.12.19 up to and including 6.12.* unaffected from 6.13.7 up to and including 6.13.* unaffected 6.14 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-21926 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21926
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-21926
trivy image --scanners vuln IMAGE | grep CVE-2025-21926
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/9f28205ddb76e86cac418332e952241d85fed0dc git.kernel.org
- https://git.kernel.org/stable/c/a2d1cca955ed34873e524cc2e6e885450d262f05 git.kernel.org
- https://git.kernel.org/stable/c/455217ac9db0cf9349b3933664355e907bb1a569 git.kernel.org
- https://git.kernel.org/stable/c/e8db70537878e1bb3fd83e5abcc6feefc0587828 git.kernel.org
- https://git.kernel.org/stable/c/01a83237644d6822bc7df2c5564fc81b0df84358 git.kernel.org
- https://git.kernel.org/stable/c/084819b0d8b1bd433b90142371eb9450d657f8ca git.kernel.org
- https://git.kernel.org/stable/c/c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b git.kernel.org
- https://git.kernel.org/stable/c/ee01b2f2d7d0010787c2343463965bbc283a497f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-21926 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