Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
net: ip_vti: require CAP_NET_ADMIN in the device netns for changelink
In the Linux kernel, the following vulnerability has been resolved: net: ip_vti: require CAP_NET_ADMIN in the device netns for changelink vti_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 vti_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.
References
Affected products
Linux
- <1caf737e625143c6f23c32d2b747b1a3e42e5699
- <33fd93961557ec8e3e9958995b28684c5f949394
- =<5.10.*
- <88b33ee458a6ca5fbef6c53b9dba772da69dab68
- =<6.6.*
- =<*
- <32edf8aa297745226854eda2d96c0fac66c1bb15
- ==3.15
- <973ead9e565423642e4533e1547b5d2c0476fb03
- <3.15
- =<6.18.*
- =<6.12.*
- <6d8bc0dc99472d62c57c2a3d436e6ab408592bda
- =<7.1.*
- =<5.15.*
- <9571af2eec8023af9a1671b7f2cd4ab400011724
- =<6.1.*
- <95cceadbfd52d7239bd730afdda0655287d77425