Description
In the Linux kernel, the following vulnerability has been resolved:

ip6: vti: Use ip6_tnl.net in vti6_changelink().

ip netns add ns1
ip netns add ns2
ip -n ns1 link add vti6_test type vti6 remote ::1 local ::2 key 7
ip -n ns1 link set vti6_test netns ns2
ip -n ns2 link set vti6_test type vti6 remote ::3 local ::4 key 9
ip netns del ns2
ip netns del ns1
[ 132.495484] ------------[ cut here ]------------
[ 132.497609] kernel BUG at net/core/dev.c:12376!

Commit 61220ab34948 ("vti6: Enable namespace changing") dropped
NETIF_F_NETNS_LOCAL from vti6 devices. A vti6 tunnel can then
move through IFLA_NET_NS_FD. After the move dev_net(dev) points
at the new netns while t->net stays at the creation netns.

vti6_changelink() and vti6_update() still use dev_net(dev) and
dev_net(t->dev). They unlink from one per netns hash and relink
into another. The creation netns is left with a stale entry.
cleanup_net() of that netns later walks freed memory.

Reachable from an unprivileged user namespace (unshare --user
--map-root-user --net). Cross tenant scope on container hosts.
Published: 2026-07-19
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel VTI6 tunnel implementation contains a flaw where changing a tunnel’s network namespace does not correctly update internal references. When a tunnel is moved, the original namespace retains a stale entry, and subsequent cleanup frees memory that is still in use. The kernel reacts with a BUG, exposing a classic use‑after‑free that can corrupt kernel memory and may allow an attacker to execute arbitrary code at the system level. This weakness corresponds to CWE-825.

Affected Systems

All Linux kernel releases prior to the commit that fixed the namespace handling bug (commit 61220ab34948). Common distributions running kernel 5.x, 6.x, and older stable releases that do not yet include this patch are affected. Container hosts where unprivileged users can create or modify network namespaces are most at risk.

Risk and Exploitability

With a CVSS score of 8.8 the vulnerability is high severity, although the EPSS score of < 1% indicates a very low but non‑zero likelihood of exploitation in the wild. The bug is not listed in the CISA KEV catalog. An attacker can trigger the flaw from an unprivileged user namespace using commands such as "unshare --user --map-root-user --net" and manipulate network namespace links on a container host. The technical barrier is relatively low for vectors familiar with Linux networking internals, but no public proof‑of‑concept exists so far. Nonetheless, the potential for kernel memory corruption and privilege escalation warrants immediate attention.

Generated by OpenCVE AI on August 4, 2026 at 18:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Linux kernel update that incorporates commit 61220ab34948 to fix the VTI6 namespace handling bug.
  • If a kernel upgrade cannot be performed immediately, restrict unprivileged users from creating or modifying network namespaces by disabling the unshare command or tightening cap_net_admin limits.
  • Monitor system logs for kernel BUG messages and for anomalous network‑namespace activity; isolate vulnerable hosts until the patch is applied.

Generated by OpenCVE AI on August 4, 2026 at 18:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Important


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ip6: vti: Use ip6_tnl.net in vti6_changelink(). ip netns add ns1 ip netns add ns2 ip -n ns1 link add vti6_test type vti6 remote ::1 local ::2 key 7 ip -n ns1 link set vti6_test netns ns2 ip -n ns2 link set vti6_test type vti6 remote ::3 local ::4 key 9 ip netns del ns2 ip netns del ns1 [ 132.495484] ------------[ cut here ]------------ [ 132.497609] kernel BUG at net/core/dev.c:12376! Commit 61220ab34948 ("vti6: Enable namespace changing") dropped NETIF_F_NETNS_LOCAL from vti6 devices. A vti6 tunnel can then move through IFLA_NET_NS_FD. After the move dev_net(dev) points at the new netns while t->net stays at the creation netns. vti6_changelink() and vti6_update() still use dev_net(dev) and dev_net(t->dev). They unlink from one per netns hash and relink into another. The creation netns is left with a stale entry. cleanup_net() of that netns later walks freed memory. Reachable from an unprivileged user namespace (unshare --user --map-root-user --net). Cross tenant scope on container hosts.
Title ip6: vti: Use ip6_tnl.net in vti6_changelink().
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:37:11.588Z

Reserved: 2026-07-19T07:54:57.020Z

Link: CVE-2026-63917

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63917 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:30:12Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference