CVE-2026-63829CWE-862broken-access-control

CVE-2026-63829

High · published July 19, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
1.4
In the wild
Unconfirmed
What it is

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

net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink

A tunnel changelink() operates on at most two netns, dev_net(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 CAP_NET_ADMIN only against dev_net(dev), so a

caller privileged there but not in t->net can rewrite a tunnel that

lives in t->net.

Add rtnl_dev_link_net_capable() next to rtnl_get_net_ns_capable() in

net/core/rtnetlink.c. It requires CAP_NET_ADMIN 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 ipgre_changelink() and erspan_changelink() with it, at the top of

the op before any attribute is parsed, because the parsers update live

tunnel fields first. ipgre_netlink_parms() sets t->collect_md before

ip_tunnel_changelink() runs.

Commit 8b484efd5cb4 ("ip6: vti: Use ip6_tnl.net in

vti6_siocdevprivate().") added the same check on the ioctl path. This

adds it on RTM_NEWLINK.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00114 · 1.4th percentile
Weakness
CWE-862 · Missing Authorization
Published
2026-07-19T16:16Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 3.16, < 5.10.2615.10.261
linux/linux_kernel≥ 5.11, < 5.15.2125.15.212
linux/linux_kernel≥ 5.16, < 6.1.1786.1.178
linux/linux_kernel≥ 6.2, < 6.6.1456.6.145
linux/linux_kernel≥ 6.7, < 6.12.956.12.95
linux/linux_kernel≥ 6.13, < 6.18.386.18.38
linux/linux_kernel≥ 6.19, < 7.1.37.1.3
References (8)
EPSS history
Timeline
  • 19 JUL 12:02Z
    net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink
    cvelistv5