CVE-2026-46120
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-debuginfo | errata.rockylinux.org | 6.12.0-211.50.1.el10, 4.18.0-553.157.1.el8 |
| kernel-debuginfo | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.41.1.el9, 4.18.0-553.157.1.el8 |
| kernel-debuginfo-common-aarch64 | errata.rockylinux.org | 4.18.0-553.157.1.el8 |
| kernel-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.41.1.el9, 4.18.0-553.157.1.el8 |
| kernel-64k-debug | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-rt-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-zfcpdump-devel-matched | errata.rockylinux.org | 6.12.0-211.50.1.el10, 5.14.0-687.41.1.el9 |
| kernel-rt-64k-debug-core | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.30-61.116.amzn2023 |
| kernel-abi-stablelists | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-devel | errata.rockylinux.org | 6.12.0-211.50.1.el10 |
| kernel-tools-libs | errata.rockylinux.org | 6.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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2d665034f239412927b1e71329f20f001c92da09, 2d665034f239412927b1e71329f20f001c92da09, 2d665034f239412927b1e71329f20f001c92da09 |
| Linux | Linux | 4.17, 0, 5.10.258 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.175-219.357 | 0 |
| amazon:2023 | kernel-livepatch-6.18.30-61.116 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
…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