Linux
net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < f5254e7766b4ac02b66b2ccef896cd278503cb11
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < ef897249dc957089e6f7f11ceea699e093ad51bd
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < c64b9ae7eb97e81d54b792910a3aeafd92566c79
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < 0b2f9c908f930ec4be17d389723f9a202d6a883c
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < f97e93ebf2f9b8ef3b87f7a9371255e84d151587
- >= 61220ab349485d911083d0b7990ccd3db6c63297, < e2ac3b242c37dff323a964962e43854f4b1a2b79
Fixed in f5254e7766b4ac02b66b2ccef896cd278503cb11, ef897249dc957089e6f7f11ceea699e093ad51bd, f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba, c64b9ae7eb97e81d54b792910a3aeafd92566c79, b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf, 0b2f9c908f930ec4be17d389723f9a202d6a883c, f97e93ebf2f9b8ef3b87f7a9371255e84d151587, e2ac3b242c37dff323a964962e43854f4b1a2b79
- 3.15
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to f5254e7766b4ac02b66b2ccef896cd278503cb11 or ef897249dc957089e6f7f11ceea699e093ad51bd or f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba or c64b9ae7eb97e81d54b792910a3aeafd92566c79 or b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf or 0b2f9c908f930ec4be17d389723f9a202d6a883c or f97e93ebf2f9b8ef3b87f7a9371255e84d151587 or e2ac3b242c37dff323a964962e43854f4b1a2b79 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.