Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < a7d2642a50282322bc33f34ee7305f2b793df494affected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < 068ad9b85f681755f751ebab82ae98146cec163daffected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < 91571643e554ae89a91942380d5f5361fb7060a2affected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < 983cc4aa7e6f633b34c3ee743771252d7afa9a90affected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < 26544021d5c49cc6ae8a968ccb5033e6363854a4affected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < 68cadc3698c7de88966d306d12ec9c6217da228aaffected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < d49edcc65e0a37cc9b386a94415c5d6670ca8b71affected6c742e714d8c282fd8f8b22d3e20b5141738c1ee to < 8211a26324667980a463c069469a818e71207e02affected
Linux Linux
Default version status: affected
3.12affected0 to < 3.12unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗