net: skbuff: don't touch shared zerocopy state in skb_tx_error()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f66bdb1cc0fcd227a062378f8be0b5873aa5600a, Kernel 0370da114a9bc044e248b85c6809d1b5e0c1f7f9, Kernel 15aa81b390d401abf4b8211042470e9e92e3b7fb and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net: skbuff: don't touch shared zerocopy state in skb_tx_error() skb_tx_error() completes the zerocopy uarg and clears SKBFL_ALL_ZEROCOPY, and skb_zcopy_downgrade_managed() clears SKBFL_MANAGED_FRAG_REFS. Both live in skb_shinfo(), which every clone shares, while the caller only owns the reference it is about to drop. Through a clone it tells the producer its pages are free and drops SKBFL_SHARED_FRAG for an skb that is still in flight. Open vSwitch reaches this with a non-last OVS_ACTION_ATTR_RECIRC: clone_execute() sends a skb_clone() into ovs_dp_process_packet() while do_execute_actions() keeps forwarding the original, and skb_clone() does not privatise the frags here -- skb_orphan_frags() returns early on SKBFL_DONT_ORPHAN. A flow miss on the clone then strips the marker from the packet still being forwarded, and a later local ESP delivery decrypts in place over frags it does not own privately. Skip it for a cloned skb. Nothing is lost: skb_release_data() clears the zerocopy state once the last reference to the shared data goes.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <f66bdb1cc0fcd227a062378f8be0b5873aa5600a, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <0370da114a9bc044e248b85c6809d1b5e0c1f7f9, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <15aa81b390d401abf4b8211042470e9e92e3b7fb, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <288f9970670841044ab030104fa6b6ed159949d0, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <363c4252ffc473a0203e91b83ede5519dfb8bd07, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <6493165034bca14033bf49c9cec7b45e97a91497, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <6ec22afc82a3cae07ade0a6ec361ae2532128ff5, >=25121173f7b1e4ac3fc692df6e7b8c52ec36abba <b4452349dcf4d561e13be768d5d278de58248930, =3.8 | f66bdb1cc0fcd227a062378f8be0b5873aa5600a, 0370da114a9bc044e248b85c6809d1b5e0c1f7f9, 15aa81b390d401abf4b8211042470e9e92e3b7fb, 288f9970670841044ab030104fa6b6ed159949d0, 363c4252ffc473a0203e91b83ede5519dfb8bd07, 6493165034bca14033bf49c9cec7b45e97a91497, 6ec22afc82a3cae07ade0a6ec361ae2532128ff5, b4452349dcf4d561e13be768d5d278de58248930 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=3.8.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket