ip_tunnel: adapt iptunnel_xmit_stats() to NETDEV_PCPU_STAT_DSTATS
- 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.6.160, 6.18.50, 6.19.10
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: ip_tunnel: adapt iptunnel_xmit_stats() to NETDEV_PCPU_STAT_DSTATS Blamed commits forgot that vxlan/geneve use udp_tunnel[6]_xmit_skb() which call iptunnel_xmit_stats(). iptunnel_xmit_stats() was assuming tunnels were only using NETDEV_PCPU_STAT_TSTATS. @syncp offset in pcpu_sw_netstats and pcpu_dstats is different. 32bit kernels would either have corruptions or freezes if the syncp sequence was overwritten. This patch also moves pcpu_stat_type closer to dev->{t,d}stats to avoid a potential cache line miss since iptunnel_xmit_stats() needs to read it.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1db9041e91ac574f1cecc0e98e69ac35832e8088 · fixed in 127c5e6e2d6fa8185314537c08204ec3515eae99; From cb1c1f3b7ef908408064734fb6bdaf5811b8b84c · fixed in e40e2d11ced8119d3e4469ebe91264bc1cf71530; From be226352e8dc77d3313c096b2d8e7f69bf6980fc · fixed in 5d562153b4719234227f99c2fb529f98a6a44d15; From be226352e8dc77d3313c096b2d8e7f69bf6980fc · fixed in 0d087d00161f562d5047cc4009bb0c6a19daf9f1; From be226352e8dc77d3313c096b2d8e7f69bf6980fc · fixed in 8431c602f551549f082bbfa67f3003f2d8e3e132; From 6.6.153 · fixed in 6.6.160
- Linux Linux
6.14
- KernelLinux
fixed in 6.6.160; From 6.7.0 · fixed in 6.18.50; From 6.14.0 · fixed in 6.19.10