Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink

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 products

Linux
  • <f00a50876d2818bd6dc86fa98b3ef360884c53c8
  • <4.20
  • <c38c8b0db3c65b597e7ece317b6cb59de3d15e69
  • =<6.6.*
  • =<*
  • =<7.1.*
  • =<5.10.*
  • <129f8939e5af683cec3a1a5edcb40a64636ad81e
  • ==7943bb0f06365cf5e32f3cf8a6b29eeae981fb8a
  • <5.5
  • =<6.18.*
  • =<6.1.*
  • ==5.5
  • <1d4d8ee002083ca4ead5353662bf8362428af57f
  • =<6.12.*
  • <0caa9f348f8b5356900de77b0bb89a697c4aff20
  • =<5.15.*
  • <220162c9fedbe992da70d70f50a10da4f45f914c
  • <03d8843b143ebbbfaf48511922abc6e886575a61
  • ==d0201d2405dac8d9b16773e97709925e397552d0
  • <5.5
  • <e3724dedf57761c6de52f4d604ec74f66fd61611