net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f97e93ebf2f9b8ef3b87f7a9371255e84d151587, Kernel 0b2f9c908f930ec4be17d389723f9a202d6a883c, Kernel b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink vti6_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 vti6_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=61220ab349485d911083d0b7990ccd3db6c63297 <f97e93ebf2f9b8ef3b87f7a9371255e84d151587, >=61220ab349485d911083d0b7990ccd3db6c63297 <0b2f9c908f930ec4be17d389723f9a202d6a883c, >=61220ab349485d911083d0b7990ccd3db6c63297 <b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf, >=61220ab349485d911083d0b7990ccd3db6c63297 <c64b9ae7eb97e81d54b792910a3aeafd92566c79, >=61220ab349485d911083d0b7990ccd3db6c63297 <e2ac3b242c37dff323a964962e43854f4b1a2b79, >=61220ab349485d911083d0b7990ccd3db6c63297 <ef897249dc957089e6f7f11ceea699e093ad51bd, >=61220ab349485d911083d0b7990ccd3db6c63297 <f5254e7766b4ac02b66b2ccef896cd278503cb11, >=61220ab349485d911083d0b7990ccd3db6c63297 <f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba, =3.15 | f97e93ebf2f9b8ef3b87f7a9371255e84d151587, 0b2f9c908f930ec4be17d389723f9a202d6a883c, b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf, c64b9ae7eb97e81d54b792910a3aeafd92566c79, e2ac3b242c37dff323a964962e43854f4b1a2b79, ef897249dc957089e6f7f11ceea699e093ad51bd, f5254e7766b4ac02b66b2ccef896cd278503cb11, f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=3.15.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket