Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before a7d2642a50282322bc33f34ee7305f2b793df494; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before 068ad9b85f681755f751ebab82ae98146cec163d; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before 91571643e554ae89a91942380d5f5361fb7060a2; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before 983cc4aa7e6f633b34c3ee743771252d7afa9a90; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before 26544021d5c49cc6ae8a968ccb5033e6363854a4; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before 68cadc3698c7de88966d306d12ec9c6217da228a; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before d49edcc65e0a37cc9b386a94415c5d6670ca8b71; affected 6c742e714d8c282fd8f8b22d3e20b5141738c1ee before 8211a26324667980a463c069469a818e71207e02 |
| Linux / Linux | affected 3.12; unaffected 0 before 3.12; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 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/a7d2642a50282322bc33f34ee7305f2b793df494
- https://git.kernel.org/stable/c/068ad9b85f681755f751ebab82ae98146cec163d
- https://git.kernel.org/stable/c/91571643e554ae89a91942380d5f5361fb7060a2
- https://git.kernel.org/stable/c/983cc4aa7e6f633b34c3ee743771252d7afa9a90
- https://git.kernel.org/stable/c/26544021d5c49cc6ae8a968ccb5033e6363854a4
- https://git.kernel.org/stable/c/68cadc3698c7de88966d306d12ec9c6217da228a
- https://git.kernel.org/stable/c/d49edcc65e0a37cc9b386a94415c5d6670ca8b71
- https://git.kernel.org/stable/c/8211a26324667980a463c069469a818e71207e02
ADP enrichment
No English description supplied.
No references supplied.