8.2high
ip_tunnel: adapt iptunnel_xmit_stats() to NETDEV_PCPU_STAT_DSTATS
- Severity
- 8.2high CVSS:3.1 by Linux
- Exploit likelihood
- 0.54% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1db9041e91ac574f1cecc0e98e69ac35832e8088 before 127c5e6e2d6fa8185314537c08204ec3515eae99, from cb1c1f3b7ef908408064734fb6bdaf5811b8b84c before e40e2d11ced8119d3e4469ebe91264bc1cf71530, from be226352e8dc77d3313c096b2d8e7f69bf6980fc before 5d562153b4719234227f99c2fb529f98a6a44d15, from be226352e8dc77d3313c096b2d8e7f69bf6980fc before 0d087d00161f562d5047cc4009bb0c6a19daf9f1, from be226352e8dc77d3313c096b2d8e7f69bf6980fc before 8431c602f551549f082bbfa67f3003f2d8e3e132, from 6.6.153 before 6.6.160, 6.14 Not affected: before 6.14, from 6.6.160 up to 6.6.*, from 6.18.50 up to 6.18.*, from 6.19.10 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.14 before 6.19.10, 7.0 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ip_tunnel: adaptar iptunnel_xmit_stats() a NETDEV_PCPU_STAT_DSTATS Los commits culpables olvidaron que vxlan/geneve usan udp_tunnel[6]_xmit_skb() que llama a iptunnel_xmit_stats(). iptunnel_xmit_stats() asumía que los túneles solo usaban NETDEV_PCPU_STAT_TSTATS. El desplazamiento @syncp en pcpu_sw_netstats y pcpu_dstats es diferente. Los kernels de 32 bits tendrían o bien corrupciones o congelamientos si la secuencia syncp era sobrescrita. Este parche también mueve pcpu_stat_type más cerca de dev -> {t,d}stats para evitar una posible pérdida de línea de caché ya que iptunnel_xmit_stats() necesita leerlo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23459 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2026-23459 changed 2026-10-21 | Public domain |