net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in f5254e7766b4ac02b66b2ccef896cd278503cb11; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in ef897249dc957089e6f7f11ceea699e093ad51bd; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in c64b9ae7eb97e81d54b792910a3aeafd92566c79; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in 0b2f9c908f930ec4be17d389723f9a202d6a883c; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in f97e93ebf2f9b8ef3b87f7a9371255e84d151587; From 61220ab349485d911083d0b7990ccd3db6c63297 · fixed in e2ac3b242c37dff323a964962e43854f4b1a2b79
- Linux Linux
3.15
- KernelLinux
From 3.15.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/f5254e7766b4ac02b66b2ccef896cd278503cb11
- stable/c/ef897249dc957089e6f7f11ceea699e093ad51bd
- stable/c/f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5ba
- stable/c/c64b9ae7eb97e81d54b792910a3aeafd92566c79
- stable/c/b2b61c540571b3cc2f461e2a579ba2cc8c2a52cf
- stable/c/0b2f9c908f930ec4be17d389723f9a202d6a883c
- stable/c/f97e93ebf2f9b8ef3b87f7a9371255e84d151587
- stable/c/e2ac3b242c37dff323a964962e43854f4b1a2b79