Skip to main content
← All vulnerabilities
CVE-2026-72052

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.20, 5.5, 5.10.261, 5.15.212, 6.1.178, and 4 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in 129f8939e5af683cec3a1a5edcb40a64636ad81e; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in e3724dedf57761c6de52f4d604ec74f66fd61611; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in 220162c9fedbe992da70d70f50a10da4f45f914c; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in 1d4d8ee002083ca4ead5353662bf8362428af57f; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in 0caa9f348f8b5356900de77b0bb89a697c4aff20; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in 03d8843b143ebbbfaf48511922abc6e886575a61; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in c38c8b0db3c65b597e7ece317b6cb59de3d15e69; From 690afc165bb314354667f67157c1a1aea7dc797a · fixed in f00a50876d2818bd6dc86fa98b3ef360884c53c8; From 4.19.100 · fixed in 4.20; From 5.4.16 · fixed in 5.5

  • Linux Linux

    5.5

  • KernelLinux

    From 5.5.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5

References 8

git.kernel.org