net: skbuff: propagate shared-frag marker in skb_zerocopy()

State
Published
Severity
Not Scored
Published
Nov 7, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

net: skbuff: propagate shared-frag marker in skb_zerocopy()

skb_zerocopy() moves frag descriptors from @from into @to and takes a reference on each frag, but it does not copy skb_shinfo(from)->flags into skb_shinfo(to)->flags. A destination skb holding the same page-cache backed frags as the source therefore reports skb_has_shared_frag() as false.

That breaks the invariant relied on by later in-place writers. ESP input checks skb_has_shared_frag() before deciding whether an uncloned nonlinear skb can skip skb_cow_data(); with the marker lost, an skb that skb_zerocopy() built for nfnetlink_queue or for an openvswitch upcall is decrypted in place, letting an unprivileged user write into the page cache of a root-owned read-only file.

Propagate SKBFL_SHARED_FRAG when frag descriptors are copied, as done for the other frag-transfer helpers.

ProductVersions
Linux Linuxaf2806f8f90a150160be898cd85332459c83c5cb to before 1e2c54fd0f85e41b6cbbcaad2e64ac2271d27cb0 Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before 646a06cd62594ae8cdfd26c3bf777b2347c6fa01 Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before b44279042133de6f75a51263d496cdfe02d2d276 Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before fe8477e23dd2ee6bce231d65f2586a333b211dc0 Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before 1c623e3cbf43f12dd4a72712079bfa247a9b8ba3 Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before d7d6ff98d5d1b400f02211f962ac32cc0020aeab Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before 1a9c180cd8435917b7516edfb1c9148032c28773 Affectedaf2806f8f90a150160be898cd85332459c83c5cb to before 79dc34beb1fdb3da79753e51e15c68591a2561fe Affected
Linux Linux3.14 Affectedbefore 3.14 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.2.15 through 7.2.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.