net: ip6_gre: 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 f00a50876d2818bd6dc86fa98b3ef360884c53c8, Kernel 03d8843b143ebbbfaf48511922abc6e886575a61, Kernel 0caa9f348f8b5356900de77b0bb89a697c4aff20 and 14 more.
In the Linux kernel, the following vulnerability has been resolved: net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink ip6gre_changelink() and ip6erspan_changelink() operate 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 both ops on rtnl_dev_link_net_capable() at their top, before any attribute is parsed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=690afc165bb314354667f67157c1a1aea7dc797a <f00a50876d2818bd6dc86fa98b3ef360884c53c8, >=690afc165bb314354667f67157c1a1aea7dc797a <03d8843b143ebbbfaf48511922abc6e886575a61, >=690afc165bb314354667f67157c1a1aea7dc797a <0caa9f348f8b5356900de77b0bb89a697c4aff20, >=690afc165bb314354667f67157c1a1aea7dc797a <129f8939e5af683cec3a1a5edcb40a64636ad81e, >=690afc165bb314354667f67157c1a1aea7dc797a <1d4d8ee002083ca4ead5353662bf8362428af57f, >=690afc165bb314354667f67157c1a1aea7dc797a <220162c9fedbe992da70d70f50a10da4f45f914c, >=690afc165bb314354667f67157c1a1aea7dc797a <c38c8b0db3c65b597e7ece317b6cb59de3d15e69, >=690afc165bb314354667f67157c1a1aea7dc797a <e3724dedf57761c6de52f4d604ec74f66fd61611, =5.5, =7943bb0f06365cf5e32f3cf8a6b29eeae981fb8a, =d0201d2405dac8d9b16773e97709925e397552d0, >=4.19.100 <4.20, >=5.4.16 <5.5 | f00a50876d2818bd6dc86fa98b3ef360884c53c8, 03d8843b143ebbbfaf48511922abc6e886575a61, 0caa9f348f8b5356900de77b0bb89a697c4aff20, 129f8939e5af683cec3a1a5edcb40a64636ad81e, 1d4d8ee002083ca4ead5353662bf8362428af57f, 220162c9fedbe992da70d70f50a10da4f45f914c, c38c8b0db3c65b597e7ece317b6cb59de3d15e69, e3724dedf57761c6de52f4d604ec74f66fd61611, 4.20, 5.5 |
| linux-kernel: Kernel | >=5.16.0 <6.1.178, >=5.5.0 <5.10.261, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=5.11.0 <5.15.212 | 6.1.178, 5.10.261, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.15.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket