CVE-2026-23459: ip_tunnel: adapt iptunnel_xmit_stats() to NETDEV_PCPU_STAT_DSTATS
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-23459 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit be226352e8dc77d3313c096b2d8e7f69bf6980fc and fixed in 6.19.10 with commit 0d087d00161f562d5047cc4009bb0c6a19daf9f1 Issue introduced in 6.14 with commit be226352e8dc77d3313c096b2d8e7f69bf6980fc and fixed in 7.0-rc5 with commit 8431c602f551549f082bbfa67f3003f2d8e3e132
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23459
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
include/linux/netdevice.h
include/net/ip_tunnels.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/0d087d00161f562d5047cc4009bb0c6a19daf9f1 https://git.kernel.org/stable/c/8431c602f551549f082bbfa67f3003f2d8e3e132