net: ip6_vti: require CAP_NET_ADMIN in the device netns for changelink
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.2%
exploitation probability
0.2%top 94% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/0b2f9c908f930ec4be17d389723f9a202d6a883chttps://git.kernel.org/stable/c/b2b61c540571b3cc2f461e2a579ba2cc8c2a52cfhttps://git.kernel.org/stable/c/c64b9ae7eb97e81d54b792910a3aeafd92566c79https://git.kernel.org/stable/c/e2ac3b242c37dff323a964962e43854f4b1a2b79https://git.kernel.org/stable/c/ef897249dc957089e6f7f11ceea699e093ad51bdhttps://git.kernel.org/stable/c/f5254e7766b4ac02b66b2ccef896cd278503cb11https://git.kernel.org/stable/c/f6e8b52a2cb3bbd72ddc2d44e474b907b9dcf5bahttps://git.kernel.org/stable/c/f97e93ebf2f9b8ef3b87f7a9371255e84d151587