CVE-2026-46120
ip6_gre: Use cached t->net in ip6erspan_changelink().
Check your servers for CVE-2026-46120
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46120 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.68% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2d665034f239412927b1e71329f20f001c92da09, before 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e affected from 2d665034f239412927b1e71329f20f001c92da09, before 01b71ff2857d3598337de11e7840a8e3ff21553c affected from 2d665034f239412927b1e71329f20f001c92da09, before 0fcf6731706f73494245a9c0d64f93bebf95bb51 affected from 2d665034f239412927b1e71329f20f001c92da09, before eca62bb0569de4d43a4dac06a2092a9d4ca1d702 affected from 2d665034f239412927b1e71329f20f001c92da09, before 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 affected from 2d665034f239412927b1e71329f20f001c92da09, before e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 affected from 2d665034f239412927b1e71329f20f001c92da09, before cf7fc624329e76c6394653d12353e1d033adea91 affected from 2d665034f239412927b1e71329f20f001c92da09, before 1d324c2f43f70c965f25c58cc3611c779adbe47e affected c6d72628352c949629af619b77b042e0fb5245e7 affected from 4.16.12, before 4.17
Other versions: unaffected
|
| Linux |
affected 4.17 unaffected before 4.17 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.140 up to and including 6.6.* unaffected from 6.12.88 up to and including 6.12.* unaffected from 6.18.30 up to and including 6.18.* unaffected from 7.0.7 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46120 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46120
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-46120
trivy image --scanners vuln IMAGE | grep CVE-2026-46120
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e git.kernel.org
- https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c git.kernel.org
- https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51 git.kernel.org
- https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702 git.kernel.org
- https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 git.kernel.org
- https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 git.kernel.org
- https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91 git.kernel.org
- https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
Source: the record CVE-2026-46120 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse