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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1db9041e91ac574f1cecc0e98e69ac35832e8088 to < 127c5e6e2d6fa8185314537c08204ec3515eae99affectedcb1c1f3b7ef908408064734fb6bdaf5811b8b84c to < e40e2d11ced8119d3e4469ebe91264bc1cf71530affectedbe226352e8dc77d3313c096b2d8e7f69bf6980fc to < 5d562153b4719234227f99c2fb529f98a6a44d15affectedbe226352e8dc77d3313c096b2d8e7f69bf6980fc to < 0d087d00161f562d5047cc4009bb0c6a19daf9f1affectedbe226352e8dc77d3313c096b2d8e7f69bf6980fc to < 8431c602f551549f082bbfa67f3003f2d8e3e132affected6.6.153 to < 6.6.160affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.6.160 to ≤ 6.6.*unaffected6.18.50 to ≤ 6.18.*unaffected6.19.10 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/127c5e6e2d6fa8185314537c08204ec3515eae99 ↗
- https://git.kernel.org/stable/c/e40e2d11ced8119d3e4469ebe91264bc1cf71530 ↗
- https://git.kernel.org/stable/c/5d562153b4719234227f99c2fb529f98a6a44d15 ↗
- https://git.kernel.org/stable/c/0d087d00161f562d5047cc4009bb0c6a19daf9f1 ↗
- https://git.kernel.org/stable/c/8431c602f551549f082bbfa67f3003f2d8e3e132 ↗