CVE-2026-90049 PUBLISHED

net: skbuff: don't skb_tx_error() the source skb in skb_zerocopy()

Assigner: Linux
Reserved: 11.09.2026 Published: 16.09.2026 Updated: 16.09.2026

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

net: skbuff: don't skb_tx_error() the source skb in skb_zerocopy()

skb_zerocopy() copies frags from @from into @to. On an skb_orphan_frags() failure it calls skb_tx_error(@from), a destructive operation on the source skb the copy helper does not own. That completes @from's zerocopy uarg and clears SKBFL_ALL_ZEROCOPY, including the SKBFL_SHARED_FRAG page-ownership marker.

Both callers already report the failure on their own drop path. nfnetlink_queue does it at nla_put_failure, and Open vSwitch does it in the flow-miss drop arm of ovs_dp_process_packet(), so nothing is lost by dropping it here.

On Open vSwitch's OVS_ACTION_ATTR_USERSPACE path the skb is not freed on this error: do_execute_actions() ignores output_userspace()'s return value and, unless the upcall was the last action, keeps forwarding the same skb through the flow's remaining actions. The uarg is completed while that skb is still in flight, telling the producer its buffers are free, and SKBFL_SHARED_FRAG is cleared on an skb the rest of the stack still handles. That flag is what makes esp_input() call skb_cow_data() instead of decrypting in place, so a later local ESP delivery can decrypt over frags the skb does not own privately.

Leave error reporting to the callers.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.3

AV:L - skb_zerocopy() only skb_tx_error()s the source when skb_orphan_frags() fails, which requires a still-attached zerocopy uarg without SKBFL_DONT_ORPHAN (vhost-net, xen-netback, AF_PACKET mmap); ordinary remote NIC packets never carry that uarg. AC:L - The attacker drives zerocopy TX and can fail skb_copy_ubufs() without an uncontrolled race (non-last OVS OUTPUT clones the skb so skb_shared() is set, or induced GFP_ATOMIC pressure); do_execute_actions() ignores the USERSPACE error and keeps forwarding. PR:N - A KVM/Xen guest using vhost-net or xen-netback needs no host account, capability, or /dev/vhost-net fd—only virtio/netback TX on the provisioned vNIC. UI:N - Guest or local zerocopy TX and in-kernel OVS USERSPACE-then-forward processing run without the victim mounting, opening a file, or otherwise interacting. S:C - vhost-net and xen-netback are host/Dom0 kernel code on the guest NIC boundary; premature uarg completion and SKBFL_SHARED_FRAG removal run in host context from guest zerocopy TX, impacting host kernel state outside the guest authority. C:H - skb_tx_error() completes the uarg while the skb is still forwarded and clears SKBFL_SHARED_FRAG, so later esp_input() skips skb_cow_data() and decrypts in place over producer-reused frags, a UAF/in-place primitive that can disclose host-held page contents. I:H - In-place ESP decrypt over frags the skb does not own privately, plus premature zerocopy completion, writes attacker-influenced data into pages still referenced by the in-flight host skb, a write primitive suitable for integrity compromise and control-flow impact. A:H - Reuse of zerocopy pages still referenced by the forwarded skb, and in-place overwrites of those pages, cause host oopses and panics that can be retriggered from guest or local TX until the host is unavailable.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to 849bdb83123760a865bcb2970127f4c0b9423ba3 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to fb10e0e9b220a2eed08931a60dbaad9a2370c908 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to 767ec2a65cc022d303b0c9c12811e7db22057341 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to 8069643ae64dfdf634b6c78c7f622e5323031436 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to 04dd250a78e268af3e7124beb1dc10ec1dd88d60 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to a13b1e80e5015cd732440b475c0ef443dc4a2157 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to bab5a851e44a3601d31f2aa8043f385bb50ac5d9 (excl.)
  • affected from 36d5fe6a000790f56039afe26834265db0a3ad4c to 8ece906150128d5ec2462aabcc978c568433eca4 (excl.)
  • Version c5f0c0e7525443add533495e93ba8de6feab2396 is affected
  • Version 1674b4bf3eea3cac51b70778e89f8025f7cfe695 is affected
  • affected from 3.10.51 to 3.11 (excl.)
  • affected from 3.12.40 to 3.13 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.14 is affected
  • unaffected from 0 to 3.14 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.51 to 6.18.* (incl.)
  • unaffected from 7.2.5 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References