Shellfeed logo Shellfeed

CVE-2026-72052 · HIGH (CVSS 8.8)

Summary: net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink

Details

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

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

ip6gre_changelink() and ip6erspan_changelink() operate 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.

Gate both ops on rtnl_dev_link_net_capable() at their top, before any
attribute is parsed.

Severity

HIGH (CVSS 8.8) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [690afc165bb314354667f67157c1a1aea7dc797a – 129f8939e5af683cec3a1a5edcb40a64636ad81e] [4.19.100 – 4.20] [5.4.16 – 5.5] [d0201d2405dac8d9b16773e97709925e397552d0 – ?] [7943bb0f06365cf5e32f3cf8a6b29eeae981fb8a – ?]
  • Linux Kernel [5.5.0 – 5.10.261] [5.11.0 – 5.15.212] [5.16.0 – 6.1.178] [6.2.0 – 6.6.145] [6.7.0 – 6.12.97] [6.13.0 – 6.18.40] [6.19.0 – 7.1.5]

References