Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 1caf737e625143c6f23c32d2b747b1a3e42e5699; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 32edf8aa297745226854eda2d96c0fac66c1bb15; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 973ead9e565423642e4533e1547b5d2c0476fb03; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 33fd93961557ec8e3e9958995b28684c5f949394; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 6d8bc0dc99472d62c57c2a3d436e6ab408592bda; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 9571af2eec8023af9a1671b7f2cd4ab400011724; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 88b33ee458a6ca5fbef6c53b9dba772da69dab68; affected 895de9a3488abcdd186680f0af3cce7f2d4d4a6e before 95cceadbfd52d7239bd730afdda0655287d77425 |
| Linux / Linux | affected 3.15; unaffected 0 before 3.15; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/1caf737e625143c6f23c32d2b747b1a3e42e5699
- https://git.kernel.org/stable/c/32edf8aa297745226854eda2d96c0fac66c1bb15
- https://git.kernel.org/stable/c/973ead9e565423642e4533e1547b5d2c0476fb03
- https://git.kernel.org/stable/c/33fd93961557ec8e3e9958995b28684c5f949394
- https://git.kernel.org/stable/c/6d8bc0dc99472d62c57c2a3d436e6ab408592bda
- https://git.kernel.org/stable/c/9571af2eec8023af9a1671b7f2cd4ab400011724
- https://git.kernel.org/stable/c/88b33ee458a6ca5fbef6c53b9dba772da69dab68
- https://git.kernel.org/stable/c/95cceadbfd52d7239bd730afdda0655287d77425
ADP enrichment
No English description supplied.
No references supplied.