net: sit: 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 cb41b308e9d867725d965b291dd085028e36a480, Kernel 27ccb68e7cccead5d8c611665a45d23032d468b3, Kernel 3118e97dae533fb45964b87bbed1801afcff7c65 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net: sit: require CAP_NET_ADMIN in the device netns for changelink ipip6_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 ipip6_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed. sit was the one tunnel type not covered by the recent series that added this check to the other changelink() handlers.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <cb41b308e9d867725d965b291dd085028e36a480, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <27ccb68e7cccead5d8c611665a45d23032d468b3, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <3118e97dae533fb45964b87bbed1801afcff7c65, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <388ccffbd2e7e5e4271f291085a7451865705305, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <7d139dec96691cde96cb40ed293e2d13d994fb4f, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <99ae3248b33df94201915d9c32e7470cdf08cfcd, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <c0ea1aedb37bb979e864ed7787975434bbd9db73, >=5e6700b3bf98fe98d630bf9c939ad4c85ce95592 <c5a0ae895432596b2f464172da8218e2d84e2932, =3.11 | cb41b308e9d867725d965b291dd085028e36a480, 27ccb68e7cccead5d8c611665a45d23032d468b3, 3118e97dae533fb45964b87bbed1801afcff7c65, 388ccffbd2e7e5e4271f291085a7451865705305, 7d139dec96691cde96cb40ed293e2d13d994fb4f, 99ae3248b33df94201915d9c32e7470cdf08cfcd, c0ea1aedb37bb979e864ed7787975434bbd9db73, c5a0ae895432596b2f464172da8218e2d84e2932 |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=3.11.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket