# CVE-2026-46120: ip6\_gre: Use cached t-\>net in ip6erspan\_changelink().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-28T09:35:35.385Z
- **Modified:** 2026-10-19T20:18:33.000Z

## Who should check

- Anyone running Linux \>= 2d665034f239412927b1e71329f20f001c92da09, \< 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 01b71ff2857d3598337de11e7840a8e3ff21553c; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 0fcf6731706f73494245a9c0d64f93bebf95bb51; \>= 2d665034f239412927b1e71329f20f001c92da09, \< eca62bb0569de4d43a4dac06a2092a9d4ca1d702; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2; \>= 2d665034f239412927b1e71329f20f001c92da09, \< e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82; \>= 2d665034f239412927b1e71329f20f001c92da09, \< cf7fc624329e76c6394653d12353e1d033adea91; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 1d324c2f43f70c965f25c58cc3611c779adbe47e; c6d72628352c949629af619b77b042e0fb5245e7; \>= 4.16.12, \< 4.17
- Anyone running Linux 4.17

## 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.

## Affected and fixed versions

- Linux: \>= 2d665034f239412927b1e71329f20f001c92da09, \< 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 01b71ff2857d3598337de11e7840a8e3ff21553c; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 0fcf6731706f73494245a9c0d64f93bebf95bb51; \>= 2d665034f239412927b1e71329f20f001c92da09, \< eca62bb0569de4d43a4dac06a2092a9d4ca1d702; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2; \>= 2d665034f239412927b1e71329f20f001c92da09, \< e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82; \>= 2d665034f239412927b1e71329f20f001c92da09, \< cf7fc624329e76c6394653d12353e1d033adea91; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 1d324c2f43f70c965f25c58cc3611c779adbe47e; c6d72628352c949629af619b77b042e0fb5245e7; \>= 4.16.12, \< 4.17 (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 4.17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46120. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46120.md
Affected: Linux >= 2d665034f239412927b1e71329f20f001c92da09, < 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e; >= 2d665034f239412927b1e71329f20f001c92da09, < 01b71ff2857d3598337de11e7840a8e3ff21553c; >= 2d665034f239412927b1e71329f20f001c92da09, < 0fcf6731706f73494245a9c0d64f93bebf95bb51; >= 2d665034f239412927b1e71…
Fixed in: Linux 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e, Linux 01b71ff2857d3598337de11e7840a8e3ff21553c, Linux 0fcf6731706f73494245a9c0d64f93bebf95bb51, Linux 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2, Linux 1d324c2f43f70c965f25c58cc3611c779adbe47e, Linux 4.17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46120 being exploited?

There is no confirmed exploitation: CVE-2026-46120 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46120?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46120?

Linux \>= 2d665034f239412927b1e71329f20f001c92da09, \< 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 01b71ff2857d3598337de11e7840a8e3ff21553c; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 0fcf6731706f73494245a9c0d64f93bebf95bb51; \>= 2d665034f239412927b1e71329f20f001c92da09, \< eca62bb0569de4d43a4dac06a2092a9d4ca1d702; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2; \>= 2d665034f239412927b1e71329f20f001c92da09, \< e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82; \>= 2d665034f239412927b1e71329f20f001c92da09, \< cf7fc624329e76c6394653d12353e1d033adea91; \>= 2d665034f239412927b1e71329f20f001c92da09, \< 1d324c2f43f70c965f25c58cc3611c779adbe47e; c6d72628352c949629af619b77b042e0fb5245e7; \>= 4.16.12, \< 4.17; Linux 4.17.

### Is there a fix for CVE-2026-46120?

Yes. Fixed in Linux 7bd0f2b162b426b343a114e1b329f0d8d14fdc6e, Linux 01b71ff2857d3598337de11e7840a8e3ff21553c, Linux 0fcf6731706f73494245a9c0d64f93bebf95bb51, Linux 311fdd26eb4443d43b909cc67a10f3a5fd1b21b2, Linux 1d324c2f43f70c965f25c58cc3611c779adbe47e, Linux 4.17. Upgrade Linux to 4.17 or later.

### How do I check if I'm affected by CVE-2026-46120?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e>
- patch: <https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c>
- patch: <https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51>
- patch: <https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702>
- patch: <https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2>
- patch: <https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82>
- patch: <https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91>
- patch: <https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46120>

HTML: <https://flawdb.com/CVE-2026-46120> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46120>
