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.
| Version | Score | Severity | Vector String |
|---|---|---|---|
| 3.1 | 8.2 | High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 2013 Service Pack 1 (32-bit editions) |
| Linux | Linux | 2013 Service Pack 1 (64-bit editions) |
| Linux | Linux | n/a |
| Linux | Linux | <= 4.2.6 |