PatchSiren cyber security CVE debrief
CVE-2026-46120 Linux CVE debrief
A use-after-free vulnerability exists in the Linux kernel's IPv6 ERSPAN tunnel implementation (ip6_gre). The ip6erspan_changelink() function incorrectly uses dev_net(dev) instead of the cached t->net when re-inserting tunnel entries into per-netns hash tables. This causes a namespace mismatch after IFLA_NET_NS_FD migration: the tunnel is inserted into the wrong namespace's hash while leaving a stale entry in the original namespace. When the original namespace is destroyed, ip6gre_exit_rtnl_net() traverses the stale entry, triggering KASAN-reported slab-use-after-free and a kernel BUG at net/core/dev.c. The vulnerability is reachable from unprivileged user namespaces.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- HIGH 7.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-28
- Original CVE updated
- 2026-06-24
- Advisory published
- 2026-05-28
- Advisory updated
- 2026-06-24
Who should care
Linux kernel maintainers, container platform operators, cloud providers offering nested virtualization or user namespaces, security teams monitoring kernel networking subsystems
Technical summary
The ip6erspan_changelink() function in net/ipv6/ip6_gre.c fails to use the cached tunnel netns (t->net) when updating tunnel hash entries, instead calling dev_net(dev). After a network namespace migration via IFLA_NET_NS_FD, this causes the tunnel to be inserted into the destination namespace's hash while a stale pointer remains in the original namespace's hash. Namespace destruction then triggers use-after-free when walking the stale hash entry, with KASAN detecting slab corruption and LIST_POISON1 triggering a kernel BUG. The fix aligns ip6erspan_changelink() with ip6gre_changelink() by using the cached t->net.
Defensive priority
high
Recommended defensive actions
- Apply kernel patches from stable branches (commits 1d324c2f43f70c965f25c58cc3611c779adbe47e, 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2, cf7fc624329e76c6394653d12353e1d033adea91, e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82, e
Evidence notes
Vulnerability description confirms root cause: ip6erspan_changelink() uses dev_net(dev) rather than cached t->net, diverging from ip6erspan_newlink() behavior after commit 5e72ce3e3980. Five kernel.org stable commits provided as patches. KASAN detection and kernel BUG at LIST_POISON1 confirm memory corruption. Unprivileged user namespace access confirmed in description.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-46120 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-46120
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-46120 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-46120
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.