CVE-2026-46120

ip6_gre: Use cached t->net in ip6erspan_changelink().

HIGH
7.8
CVSS Score
Published: May 28, 2026 at 09:35 AM UTC
Updated: October 19, 2026 at 08:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ip6_gre: Use cached t->net in ip6erspan_changelink(). After commit 5e72ce3e3980 ("net: ipv6: Use link netns in newlink() of rtnl_link_ops"), ip6erspan_newlink() correctly resolves the per-netns ip6gre hash via link_net. ip6erspan_changelink() was not converted in that series and still uses dev_net(dev), which diverges from the device's creation netns after IFLA_NET_NS_FD migration. This re-inserts the tunnel into the wrong per-netns hash. The original netns keeps a stale entry. When that netns is later destroyed, ip6gre_exit_rtnl_net() walks the stale entry, producing a slab-use-after-free reported by KASAN, followed by a kernel BUG at net/core/dev.c (LIST_POISON1) in unregister_netdevice_many_notify(). Reachable from an unprivileged user namespace (unshare --user --map-root-user --net). ip6gre_changelink() earlier in the same file already uses the cached t->net; only ip6erspan_changelink() has the wrong shape.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16.12 ≤ v < 4.174.17.1 ≤ v < 5.10.2585.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.306.19 ≤ v < 7.0.76.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.882d665034f239412927b1e71329f20f001c92da094.16.124.174.17 rc77.17.1 rc17.1 rc2c6d72628352c949629af619b77b042e0fb5245e7
Vendor states this is fixed in 01b71ff2857d3598337de11e7840a8e3ff21553c (fixed)
Vendor states this is fixed in 0fcf6731706f73494245a9c0d64f93bebf95bb51 (fixed)
Vendor states this is fixed in 1d324c2f43f70c965f25c58cc3611c779adbe47e (fixed)
Vendor states this is fixed in 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 (fixed)
Vendor states this is fixed in 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e (fixed)
Vendor states this is fixed in cf7fc624329e76c6394653d12353e1d033adea91 (fixed)
Vendor states this is fixed in e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 (fixed)
Vendor states this is fixed in eca62bb0569de4d43a4dac06a2092a9d4ca1d702 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.88 (unaffected)
Vendor states this is fixed in 6.18.30 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.7 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusUNDERGOING ANALYSIS
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card