net: ip6_tunnel: 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_tunnel: require CAP_NET_ADMIN in the device netns for changelink
ip6_tnl_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 ip6_tnl_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/234cd54fc500f69db43e37de38603da617fbbeeahttps://git.kernel.org/stable/c/2496fa0b7d180b3ad356b514e7ff93bb14e6140ahttps://git.kernel.org/stable/c/2636d061bc237a2446a146e42dcc6563acfa7432https://git.kernel.org/stable/c/2d53ee7daabe733deb81f51d2cc90188f8ad59a1https://git.kernel.org/stable/c/5252db8fb604321133138c7069d6fc3fcd89cdeehttps://git.kernel.org/stable/c/7f68f7928484f463a5bc0d50e6fdd8d16f55a5aahttps://git.kernel.org/stable/c/82e53e7281c71e174f9f5877c566a623c637b406https://git.kernel.org/stable/c/d4bcc202a3530c856e1cb183384bc9cc8fddab22