ip_tunnel: adapt iptunnel_xmit_stats() to NETDEV_PCPU_STAT_DSTATS
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel e40e2d11ced8119d3e4469ebe91264bc1cf71530, Kernel 0d087d00161f562d5047cc4009bb0c6a19daf9f1, Kernel 5d562153b4719234227f99c2fb529f98a6a44d15 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=cb1c1f3b7ef908408064734fb6bdaf5811b8b84c <e40e2d11ced8119d3e4469ebe91264bc1cf71530, >=be226352e8dc77d3313c096b2d8e7f69bf6980fc <0d087d00161f562d5047cc4009bb0c6a19daf9f1, >=be226352e8dc77d3313c096b2d8e7f69bf6980fc <5d562153b4719234227f99c2fb529f98a6a44d15, >=be226352e8dc77d3313c096b2d8e7f69bf6980fc <8431c602f551549f082bbfa67f3003f2d8e3e132, =6.14, >=1db9041e91ac574f1cecc0e98e69ac35832e8088 <127c5e6e2d6fa8185314537c08204ec3515eae99, >=6.6.153 <6.6.160 | e40e2d11ced8119d3e4469ebe91264bc1cf71530, 0d087d00161f562d5047cc4009bb0c6a19daf9f1, 5d562153b4719234227f99c2fb529f98a6a44d15, 8431c602f551549f082bbfa67f3003f2d8e3e132, 127c5e6e2d6fa8185314537c08204ec3515eae99, 6.6.160 |
| linux-kernel: Kernel | >=6.19.0 <6.19.10, >=6.6.153 <6.6.160, >=6.14.0 <6.18.50 | 6.19.10, 6.6.160, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket