VDB

CVE-2026-46120

CVE-2026-46120 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published May 28, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-debuginfoerrata.rockylinux.org6.12.0-211.50.1.el10, 4.18.0-553.157.1.el8
kernel-debuginfoerrata.rockylinux.org6.12.0-211.50.1.el10, 5.14.0-687.41.1.el9, 4.18.0-553.157.1.el8
kernel-debuginfo-common-aarch64errata.rockylinux.org4.18.0-553.157.1.el8
kernel-debug-modules-extraerrata.rockylinux.org6.12.0-211.50.1.el10, 5.14.0-687.41.1.el9, 4.18.0-553.157.1.el8
kernel-64k-debugerrata.rockylinux.org6.12.0-211.50.1.el10
kernel-rt-debug-modules-extraerrata.rockylinux.org6.12.0-211.50.1.el10
kernel-zfcpdump-devel-matchederrata.rockylinux.org6.12.0-211.50.1.el10, 5.14.0-687.41.1.el9
kernel-rt-64k-debug-coreerrata.rockylinux.org6.12.0-211.50.1.el10
kernel6.18-modules-extraAmazon Linux1:6.18.30-61.116.amzn2023
kernel-abi-stablelistserrata.rockylinux.org6.12.0-211.50.1.el10
kernel-develerrata.rockylinux.org6.12.0-211.50.1.el10
kernel-tools-libserrata.rockylinux.org6.12.0-211.50.1.el10, 4.18.0-553.157.1.el8

48 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux2d665034f239412927b1e71329f20f001c92da09, 2d665034f239412927b1e71329f20f001c92da09, 2d665034f239412927b1e71329f20f001c92da09
LinuxLinux4.17, 0, 5.10.258
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.180
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel6.18-tools0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.120
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023bpftool6.120

…and 18 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (14 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (136 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (137 in total, the first dated here)
  • Sep 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46120
vulnetix vdb fixes CVE-2026-46120

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46120/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›