Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
net: ipip: require CAP_NET_ADMIN in the device netns for changelink
In the Linux kernel, the following vulnerability has been resolved: net: ipip: require CAP_NET_ADMIN in the device netns for changelink ipip_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. Gate ipip_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.
References
Affected products
Linux
- <8211a26324667980a463c069469a818e71207e02
- <3.12
- <d49edcc65e0a37cc9b386a94415c5d6670ca8b71
- =<6.6.*
- =<*
- <983cc4aa7e6f633b34c3ee743771252d7afa9a90
- <68cadc3698c7de88966d306d12ec9c6217da228a
- =<6.18.*
- =<6.12.*
- =<7.1.*
- ==3.12
- <26544021d5c49cc6ae8a968ccb5033e6363854a4
- <91571643e554ae89a91942380d5f5361fb7060a2
- =<6.1.*