vxlan: do not reuse cached ip_hdr() value after skb_tunnel_check_pmtu()
- 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 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, and 2 more
- 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: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: vxlan: do not reuse cached ip_hdr() value after skb_tunnel_check_pmtu() skb_tunnel_check_pmtu() can change skb->head. Reusing old_iph afer skb_tunnel_check_pmtu() can cause an UAF. Use instead ip_hdr(skb) as done in drivers/net/bareudp.c and drivers/net/geneve.c. Found by Sashiko.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in 6b8bfce9d2f774d2c2243e0248e03efb99bba6c0; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in 9257f56ac47ef1976bcd056cf986a9988eeec67a; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in 8d435d68d71fb875876b722f4136caf74f2f48bd; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in dc3bfa050f873371e745bdf478b1f5b738e5733d; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in 609e63312c29aad18026a1d3222e123d4b6b0feb; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in 5303925e360527243b46a440a04667826bbc72b7; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in a493efd4336cf19122ae0e4cbb3d31b32d70deea; From 4cb47a8644cc9eb8ec81190a50e79e6530d0297f · fixed in 7d9ef0cb271555d8cf39fefe6c981e1493b25ecf
- Linux Linux
5.9
- KernelLinux
From 5.9.0 · fixed in 5.10.259; From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.93; From 6.13.0 · fixed in 6.18.35; From 6.19.0 · fixed in 7.0.12
References 8
git.kernel.org
- stable/c/6b8bfce9d2f774d2c2243e0248e03efb99bba6c0
- stable/c/9257f56ac47ef1976bcd056cf986a9988eeec67a
- stable/c/8d435d68d71fb875876b722f4136caf74f2f48bd
- stable/c/dc3bfa050f873371e745bdf478b1f5b738e5733d
- stable/c/609e63312c29aad18026a1d3222e123d4b6b0feb
- stable/c/5303925e360527243b46a440a04667826bbc72b7
- stable/c/a493efd4336cf19122ae0e4cbb3d31b32d70deea
- stable/c/7d9ef0cb271555d8cf39fefe6c981e1493b25ecf