CVE-2026-63921

Source
https://cve.org/CVERecord?id=CVE-2026-63921
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63921.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63921
Downstream
Published
2026-07-19T14:55:23.539Z
Modified
2026-07-21T03:47:06.922970074Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
ip6: vti: Use ip6_tnl.net in vti6_siocdevprivate().
Details

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

ip6: vti: Use ip6tnl.net in vti6siocdevprivate().

After patch 1/2 in this series, vti6update() unlinks and relinks the tunnel through t->net. vti6siocdevprivate() still uses devnet(dev) for the collision lookup. For a tunnel moved through IFLANETNSFD, dev_net(dev) is the new netns, not t->net.

SIOCCHGTUNNEL on a migrated tunnel then runs:

net = devnet(dev) /* migrated netns */ t = vti6locate(net, &p1, false) /* misses target in t->net / ... t = netdevpriv(dev) vti6update(t, &p1, false) / mutates t->net's hash */

A caller in the migrated netns picks params that match a tunnel in the creation netns. The lookup in devnet(dev) finds nothing. vti6update() prepends the migrated tunnel at the head of the creation netns hash bucket for those params. Later lookups in the creation netns resolve to the migrated device. xfrm receive delivers the matched packets through a device the caller controls.

Reachable from an unprivileged user namespace (unshare --user --map-root-user --net). Cross tenant scope on container hosts.

Switch the SIOCCHGTUNNEL path on a non fallback device to use t->net for the lookup. The lookup now matches the netns vti6_update() operates on.

Also add nscapable(self->net->userns, CAPNETADMIN) before the lookup. The check at the top of the case is against devnet(dev)->userns, which after migration is the attacker's netns. A caller there can pick params absent from self->net, the lookup returns NULL, t becomes self, and vti6update() inserts the device into the creation netns hash. The new check requires CAPNETADMIN in the creation netns userns too.

SIOCADDTUNNEL and SIOCCHGTUNNEL on the fallback device keep devnet(dev), which equals initnet there.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63921.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
61220ab349485d911083d0b7990ccd3db6c63297
Fixed
94ff740a7f9ef5c010784a325dca00cbf228f941
Fixed
df42ac708acc3399bbb6dc5ca16e0540adda7bbf
Fixed
44d2ff7d2178503b93151140a45dfa2ad49c9906
Fixed
1acfb7d9c6fc7e209ed7789392697e97e03edd33
Fixed
d2236348414bdd6558385f35aa7fdc9bf5634011
Fixed
853f6ea482dfcd3404bbef458ab4d68364eed838
Fixed
596f6354c96a891e58c04a09cbfb7b0d1ec00dab
Fixed
8b484efd5cb4eeef9021a661e198edc5349dacf6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63921.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.15.0
Fixed
5.10.259
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.176
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.93
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.35
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63921.json"