CVE-2026-46120·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-46120 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to resolve a namespace handling flaw in IPv6 GRE tunnel management. This vulnerability allows unprivileged users to trigger memory corruption and kernel crashes by manipulating network namespace file descriptors. Apply the patch immediately on systems that use network namespaces or containerization.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r (vulnerable if between 6.19 and 7.0.6)
- Verify ip6gre module is loaded: lsmod | grep ip6gre
- Search system logs for KASAN errors: sudo dmesg | grep -i 'kasan\|use-after-free'
- Check for LIST_POISON errors: sudo journalctl -xe | grep -i 'list_poison\|unregister_netdevice'
- Confirm patch applied: uname -r should show 7.0.7 or higher after reboot
FAQ
What is CVE-2026-46120?
A kernel vulnerability in IPv6 GRE tunnel management where the ip6erspan_changelink() function uses the wrong network namespace reference when migrating tunnels across namespaces, causing stale hash table entries and memory corruption.
Is CVE-2026-46120 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for this vulnerability at this time.
What versions of Kernel are affected by CVE-2026-46120?
Linux kernel versions 6.19 through 7.0.6 are vulnerable. Version 7.0.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-46120?
Run `uname -r` and compare your kernel version against the range 6.19-7.0.6. If your version falls within this range, your system is vulnerable.
Who can exploit this vulnerability?
An unprivileged user with the ability to create network namespaces (via unshare command) can trigger this vulnerability without root privileges.
Does Defensia detect CVE-2026-46120?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-46120 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c
- https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51
- https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e
- https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2
- https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46120. Free for 1 server.
Get started free