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

vxlan: require CAP_NET_ADMIN in the device netns for changelink

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, and 2 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: vxlan: require CAP_NET_ADMIN in the device netns for changelink A tunnel changelink() operates on at most two netns, dev_net(dev) and the sticky underlay netns vxlan->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 vxlan->net can rewrite a vxlan device whose underlay lives in vxlan->net. vxlan_changelink() validates and applies the new configuration against vxlan->net (vxlan_config_validate(vxlan->net, ...)) and can reopen the underlay socket in that netns, so the same reasoning as the tunnel changelink series applies here. Gate vxlan_changelink() with rtnl_dev_link_net_capable(), at the top of the op before any attribute is parsed, matching ipgre_changelink() and the rest of the "require CAP_NET_ADMIN in the device netns for changelink" series. Found by 0sec automated security-research tooling (https://0sec.ai).

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • Linux Linux

    From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in b95a8743e58f7efed5ddc4cb73829b66f17feab0; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in 7465ade989ba84adc2bfa58bad3ca25d249f0f7a; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in 0aa580a8bbbed2507b4582a1f0ef581d480d06ed; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in b3793d7dccb192ffff29894d11824db6251acdd5; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in 32d10c46bfde3e9b274e9e1bd6399d0ebea8f60f; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in 730c7e5fea7f06e0cdf21c547222ec93234fd1d6; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in e8ad0d311e225939a9a6c745d6cc384c7364ec87; From 8bcdc4f3a20be949df54b67e5ae2734daabb5792 · fixed in 3a61bd9637f3d929aa846e4eb3d98b48c26fcb0e

  • Linux Linux

    4.11

  • KernelLinux

    From 4.11.0 · fixed in 5.10.265; From 5.11.0 · fixed in 5.15.216; From 5.16.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6

References 8

git.kernel.org