net: gro: don't merge zcopy skbs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.176, Kernel 6.18.34, Kernel 7.0.11 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.0 <6.1.176, >=6.13 <6.18.34, >=6.19 <7.0.11, >=6.2 <6.6.142, >=6.7 <6.12.92, =7.1, >=753f1ca4e1e50248a1b760c9774d6d6b354562cc <3c6cc9f2ca65b6dd61b1af75452dc0e1cd0aad8d, >=753f1ca4e1e50248a1b760c9774d6d6b354562cc <44bea2032af0425e4ce6d26a8af0ede79db49ec1, >=753f1ca4e1e50248a1b760c9774d6d6b354562cc <479084ae0e1d9cb7929cb4298d35623de189f80a, >=753f1ca4e1e50248a1b760c9774d6d6b354562cc <4db79a322db8c97f7b73b8a347395ef4d685eb40, >=753f1ca4e1e50248a1b760c9774d6d6b354562cc <e334cbf3388fd9334503a778a82d9e9f14dd2f71, =6.0, >=753f1ca4e1e50248a1b760c9774d6d6b354562cc <1f9c828556416fbe3f49386708ce999fc4d4da06 | 6.1.176, 6.18.34, 7.0.11, 6.6.142, 6.12.92, 3c6cc9f2ca65b6dd61b1af75452dc0e1cd0aad8d, 44bea2032af0425e4ce6d26a8af0ede79db49ec1, 479084ae0e1d9cb7929cb4298d35623de189f80a, 4db79a322db8c97f7b73b8a347395ef4d685eb40, e334cbf3388fd9334503a778a82d9e9f14dd2f71, 1f9c828556416fbe3f49386708ce999fc4d4da06 |
| linux-kernel: Kernel | >=6.0.0 <6.1.176, >=6.13.0 <6.18.34, >=6.19.0 <7.0.11, >=6.2.0 <6.6.142, >=6.7.0 <6.12.92 | 6.1.176, 6.18.34, 7.0.11, 6.6.142, 6.12.92 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket