net: gro: don't merge zcopy skbs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.176, 6.6.142, 6.12.92, 6.18.34, 7.0.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 753f1ca4e1e50248a1b760c9774d6d6b354562cc · fixed in 3c6cc9f2ca65b6dd61b1af75452dc0e1cd0aad8d; From 753f1ca4e1e50248a1b760c9774d6d6b354562cc · fixed in 1f9c828556416fbe3f49386708ce999fc4d4da06; From 753f1ca4e1e50248a1b760c9774d6d6b354562cc · fixed in 479084ae0e1d9cb7929cb4298d35623de189f80a; From 753f1ca4e1e50248a1b760c9774d6d6b354562cc · fixed in e334cbf3388fd9334503a778a82d9e9f14dd2f71; From 753f1ca4e1e50248a1b760c9774d6d6b354562cc · fixed in 44bea2032af0425e4ce6d26a8af0ede79db49ec1; From 753f1ca4e1e50248a1b760c9774d6d6b354562cc · fixed in 4db79a322db8c97f7b73b8a347395ef4d685eb40
- Linux Linux
6.0
- KernelLinux
From 6.0.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.142; From 6.7.0 · fixed in 6.12.92; From 6.13.0 · fixed in 6.18.34; From 6.19.0 · fixed in 7.0.11