CVE-2026-46120
ip6_gre: Use cached t->net in ip6erspan_changelink().
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.
INFO
Published Date :
May 28, 2026, 10:16 a.m.
Last Modified :
Oct. 19, 2026, 8:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the provided kernel patch.
- Update the Linux kernel.
- Rebuild the kernel if necessary.
- Restart the system.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-46120.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-46120 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-46120
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-46120 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-46120 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-416 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 16, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-46120', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:20:01.834232Z'} -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/46xxx/CVE-2026-46120.json">CVE-2026-46120</a> Added Reference https://cert-portal.siemens.com/productcert/html/ssa-784472.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c Added Reference https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51 Added Reference https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e Added Reference https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 Added Reference https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e Added Reference https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91 Added Reference https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 Added Reference https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702 Removed Reference https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c Removed Reference https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51 Removed Reference https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e Removed Reference https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 Removed Reference https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e Removed Reference https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91 Removed Reference https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 Removed Reference https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702 Removed Reference Type https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c Types: Patch Removed Reference Type https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e Types: Patch Removed Reference Type https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e Types: Patch Removed Reference Type https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702 Types: Patch -
Initial Analysis by [email protected]
Jun. 24, 2026
Action Type Old Value New Value Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.17:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:4.17:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.16.12 up to (excluding) 4.17 *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.30 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.7 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.88 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.140 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.17.1 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': '7bd0f2b162b426b343a114e1b329f0d8d14fdc6e', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': '01b71ff2857d3598337de11e7840a8e3ff21553c', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': '0fcf6731706f73494245a9c0d64f93bebf95bb51', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': 'eca62bb0569de4d43a4dac06a2092a9d4ca1d702', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': '311fdd26eb4443d43b909cc67a10f3a5fd1b21b2', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': 'e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': 'cf7fc624329e76c6394653d12353e1d033adea91', 'versionType': 'git'}, {'status': 'affected', 'version': '2d665034f239412927b1e71329f20f001c92da09', 'lessThan': '1d324c2f43f70c965f25c58cc3611c779adbe47e', 'versionType': 'git'}, {'status': 'affected', 'version': 'c6d72628352c949629af619b77b042e0fb5245e7', 'versionType': 'git'}, {'status': 'affected', 'version': '4.16.12', 'lessThan': '4.17', 'versionType': 'semver'}], 'programFiles': ['net/ipv6/ip6_gre.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.140', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.88', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.30', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.7', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ipv6/ip6_gre.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 01, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/01b71ff2857d3598337de11e7840a8e3ff21553c Added Reference https://git.kernel.org/stable/c/0fcf6731706f73494245a9c0d64f93bebf95bb51 Added Reference https://git.kernel.org/stable/c/7bd0f2b162b426b343a114e1b329f0d8d14fdc6e -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e Added Reference https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2 Added Reference https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91 Added Reference https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82 Added Reference https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702