tunnels: load network headers after skb_cow() in iptunnel_pmtud_build_icmp[v6]()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 50750d86a2e5266aba0c295483b3397843198b11, Kernel 6dff77899b9e9fe5d854abda3a98ad04e7229ef7, Kernel 7254aef4d1a7e18e887af9010e2f2dc34806789b and 5 more.
In the Linux kernel, the following vulnerability has been resolved: tunnels: load network headers after skb_cow() in iptunnel_pmtud_build_icmp[v6]() Sashiko found that iptunnel_pmtud_build_icmp() and iptunnel_pmtud_build_icmpv6() were caching ip_hdr() and ipv6_hdr() before an skb_cow() call which can reallocate skb->head. Fix this possible UAF by initializing the local variables after the skb_cow() call. Remove skb_reset_network_header() calls which were not needed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.9, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <50750d86a2e5266aba0c295483b3397843198b11, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <6dff77899b9e9fe5d854abda3a98ad04e7229ef7, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <7254aef4d1a7e18e887af9010e2f2dc34806789b, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <76cd9398a0470257ab765bdf5f358a2af2e17934, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <95b6d772bfe788331d9742d73eaa12e113b2adc4, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <b4bc94353050b1fa7b702bd4c6600710dd926cff, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <bf8b3f34c37c162357138e7c0942723b8b94fed1, >=4cb47a8644cc9eb8ec81190a50e79e6530d0297f <f3f204541f280a6ecb04503a0d6794d93990ca43 | 50750d86a2e5266aba0c295483b3397843198b11, 6dff77899b9e9fe5d854abda3a98ad04e7229ef7, 7254aef4d1a7e18e887af9010e2f2dc34806789b, 76cd9398a0470257ab765bdf5f358a2af2e17934, 95b6d772bfe788331d9742d73eaa12e113b2adc4, b4bc94353050b1fa7b702bd4c6600710dd926cff, bf8b3f34c37c162357138e7c0942723b8b94fed1, f3f204541f280a6ecb04503a0d6794d93990ca43 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket