CVE-2026-46120
ip6gre Use-After-Free in Linux Kernel
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's IPv6 GRE (Generic Routing Encapsulation) implementation, specifically in the ip6erspan_changelink() function. After a certain commit, ip6erspan_newlink() was updated to correctly handle network namespaces, but ip6erspan_changelink() was not updated accordingly and still uses an outdated method to reference the network namespace.
Because of this, the tunnel is re-inserted into the wrong per-network namespace hash, leaving a stale entry in the original network namespace. When that original network namespace is destroyed, the kernel attempts to walk this stale entry, causing a use-after-free error detected by KASAN and leading to a kernel BUG in unregister_netdevice_many_notify().
This issue is reachable from an unprivileged user namespace, meaning an unprivileged user can trigger this vulnerability.
How can this vulnerability impact me? :
This vulnerability can cause a kernel use-after-free error, which may lead to a kernel crash (kernel BUG). Such crashes can result in denial of service (DoS) conditions, potentially disrupting system availability.
Since the vulnerability is reachable from an unprivileged user namespace, it could be exploited by local users to destabilize the system or cause unexpected behavior.