CVE-2026-63829

Source
https://cve.org/CVERecord?id=CVE-2026-63829
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63829.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63829
Downstream
Published
2026-07-19T12:02:23.191Z
Modified
2026-07-21T03:47:32.331582657Z
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
net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink
Details

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

net: ipgre: require CAPNET_ADMIN in the device netns for changelink

A tunnel changelink() operates on at most two netns, devnet(dev) and the tunnel link netns t->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAPNETADMIN only against devnet(dev), so a caller privileged there but not in t->net can rewrite a tunnel that lives in t->net.

Add rtnldevlinknetcapable() next to rtnlgetnetnscapable() in net/core/rtnetlink.c. It requires CAPNETADMIN in the link netns and is skipped when the link netns is dev_net(dev), where the rtnl path already checked it. The other patches in this series use the same helper.

Gate ipgrechangelink() and erspanchangelink() with it, at the top of the op before any attribute is parsed, because the parsers update live tunnel fields first. ipgrenetlinkparms() sets t->collectmd before iptunnel_changelink() runs.

Commit 8b484efd5cb4 ("ip6: vti: Use ip6tnl.net in vti6siocdevprivate().") added the same check on the ioctl path. This adds it on RTM_NEWLINK.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63829.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
b57708add31494175be741ed3fd24023b50c3423
Fixed
9831bc9ecb402957810c2045c663fbfe9b09e296
Fixed
1697957eb0971d420dde42862b88eb43506a1105
Fixed
47b5d3d506609b08b2e1f7c14f0b681a1953d572
Fixed
8165f7ff57d9667d2bb477ef6af83ede7fed4ad7

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.16.0
Fixed
6.12.95
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.38
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.3

Database specific

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