Description
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.
Product status
be226352e8dc77d3313c096b2d8e7f69bf6980fc (git) before 0d087d00161f562d5047cc4009bb0c6a19daf9f1
be226352e8dc77d3313c096b2d8e7f69bf6980fc (git) before 8431c602f551549f082bbfa67f3003f2d8e3e132
6.14
Any version before 6.14
6.19.10 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/0d087d00161f562d5047cc4009bb0c6a19daf9f1
git.kernel.org/...c/8431c602f551549f082bbfa67f3003f2d8e3e132