net: gro: don't merge zcopy skbs
CVE-2026-46323
What is CVE-2026-46323?
In the Linux kernel, the following vulnerability has been resolved:
net: gro: don't merge zcopy skbs
skb_gro_receive() can currently copy frags between the source and GRO skb, without checking the zerocopy status, and in particular the SKBFL_MANAGED_FRAG_REFS flag.
When SKBFL_MANAGED_FRAG_REFS is set, the skb doesn't hold a reference on the pages in shinfo->frags. Appending those frags to another skb's frags without fixing up the page refcount can lead to UAF.
When either the last skb in the GRO chain (the one we would append frags to) or the source skb is zerocopy, don't merge the skbs.
Affected Version(s)
Linux 753f1ca4e1e50248a1b760c9774d6d6b354562cc < 1f9c828556416fbe3f49386708ce999fc4d4da06
Linux 753f1ca4e1e50248a1b760c9774d6d6b354562cc < 479084ae0e1d9cb7929cb4298d35623de189f80a
Linux 753f1ca4e1e50248a1b760c9774d6d6b354562cc