{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21926","id":"CVE-2025-21926","title":"net: gso: fix ownership in __udp_gso_segment","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gso: fix ownership in __udp_gso_segment\n\nIn __udp_gso_segment the skb destructor is removed before segmenting the\nskb but the socket reference is kept as-is. This is an issue if the\noriginal skb is later orphaned as we can hit the following bug:\n\n  kernel BUG at ./include/linux/skbuff.h:3312!  (skb_orphan)\n  RIP: 0010:ip_rcv","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gso: fix ownership in __udp_gso_segment\n\nIn __udp_gso_segment the skb destructor is removed before segmenting the\nskb but the socket reference is kept as-is. This is an issue if the\noriginal skb is later orphaned as we can hit the following bug:\n\n  kernel BUG at ./include/linux/skbuff.h:3312!  (skb_orphan)\n  RIP: 0010:ip_rcv_core+0x8b2/0xca0\n  Call Trace:\n   ip_rcv+0xab/0x6e0\n   __netif_receive_skb_one_core+0x168/0x1b0\n   process_backlog+0x384/0x1100\n   __napi_poll.constprop.0+0xa1/0x370\n   net_rx_action+0x925/0xe50\n\nThe above can happen following a sequence of events when using\nOpenVSwitch, when an OVS_ACTION_ATTR_USERSPACE action precedes an\nOVS_ACTION_ATTR_OUTPUT action:\n\n1. OVS_ACTION_ATTR_USERSPACE is handled (in do_execute_actions): the skb\n   goes through queue_gso_packets and then __udp_gso_segment, where its\n   destructor is removed.\n2. The segments' data are copied and sent to userspace.\n3. OVS_ACTION_ATTR_OUTPUT is handled (in do_execute_actions) and the\n   same original skb is sent to its path.\n4. If it later hits skb_orphan, we hit the bug.\n\nFix this by also removing the reference to the socket in\n__udp_gso_segment.","published":"2025-04-01T15:40:57.882Z","updated":"2026-11-12T02:30:53.211523241Z","reserved":"2024-12-29T08:45:45.788Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"9f28205ddb76e86cac418332e952241d85fed0dc","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"a2d1cca955ed34873e524cc2e6e885450d262f05","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"455217ac9db0cf9349b3933664355e907bb1a569","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"e8db70537878e1bb3fd83e5abcc6feefc0587828","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"01a83237644d6822bc7df2c5564fc81b0df84358","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"084819b0d8b1bd433b90142371eb9450d657f8ca","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b","status":"affected","versionType":"git"},{"version":"ad405857b174ed31a97982bb129c320d03321cf5","lessThan":"ee01b2f2d7d0010787c2343463965bbc283a497f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.131","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.83","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.19","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.7","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9f28205ddb76e86cac418332e952241d85fed0dc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a2d1cca955ed34873e524cc2e6e885450d262f05","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/455217ac9db0cf9349b3933664355e907bb1a569","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e8db70537878e1bb3fd83e5abcc6feefc0587828","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/01a83237644d6822bc7df2c5564fc81b0df84358","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/084819b0d8b1bd433b90142371eb9450d657f8ca","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c32da44cc9298eaa6109e3fc2c2b4e07cc4bf11b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ee01b2f2d7d0010787c2343463965bbc283a497f","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21926.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21926","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00243,"epssPercentile":0.15729,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21926","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21926","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21926","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21926","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}