CVE-2026-68432 PUBLISHED

vxlan: require CAP_NET_ADMIN in the device netns for changelink

Assigner: Linux
Reserved: 30.07.2026 Published: 12.08.2026 Updated: 12.08.2026

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).

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 8bcdc4f3a20be949df54b67e5ae2734daabb5792 to b3793d7dccb192ffff29894d11824db6251acdd5 (excl.)
  • affected from 8bcdc4f3a20be949df54b67e5ae2734daabb5792 to 32d10c46bfde3e9b274e9e1bd6399d0ebea8f60f (excl.)
  • affected from 8bcdc4f3a20be949df54b67e5ae2734daabb5792 to 730c7e5fea7f06e0cdf21c547222ec93234fd1d6 (excl.)
  • affected from 8bcdc4f3a20be949df54b67e5ae2734daabb5792 to e8ad0d311e225939a9a6c745d6cc384c7364ec87 (excl.)
  • affected from 8bcdc4f3a20be949df54b67e5ae2734daabb5792 to 3a61bd9637f3d929aa846e4eb3d98b48c26fcb0e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.11 is affected
  • unaffected from 0 to 4.11 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References