Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before cb41b308e9d867725d965b291dd085028e36a480; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before c5a0ae895432596b2f464172da8218e2d84e2932; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before 7d139dec96691cde96cb40ed293e2d13d994fb4f; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before 388ccffbd2e7e5e4271f291085a7451865705305; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before c0ea1aedb37bb979e864ed7787975434bbd9db73; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before 3118e97dae533fb45964b87bbed1801afcff7c65; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before 99ae3248b33df94201915d9c32e7470cdf08cfcd; affected 5e6700b3bf98fe98d630bf9c939ad4c85ce95592 before 27ccb68e7cccead5d8c611665a45d23032d468b3 |
| Linux / Linux | affected 3.11; unaffected 0 before 3.11; unaffected 5.10.261 through 5.10.*; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/cb41b308e9d867725d965b291dd085028e36a480
- https://git.kernel.org/stable/c/c5a0ae895432596b2f464172da8218e2d84e2932
- https://git.kernel.org/stable/c/7d139dec96691cde96cb40ed293e2d13d994fb4f
- https://git.kernel.org/stable/c/388ccffbd2e7e5e4271f291085a7451865705305
- https://git.kernel.org/stable/c/c0ea1aedb37bb979e864ed7787975434bbd9db73
- https://git.kernel.org/stable/c/3118e97dae533fb45964b87bbed1801afcff7c65
- https://git.kernel.org/stable/c/99ae3248b33df94201915d9c32e7470cdf08cfcd
- https://git.kernel.org/stable/c/27ccb68e7cccead5d8c611665a45d23032d468b3
ADP enrichment
No English description supplied.
No references supplied.