{"id":"CVE-2026-72052","state":"PUBLISHED","title":"net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink\n\nip6gre_changelink() and ip6erspan_changelink() operate on at most two\nnetns, dev_net(dev) and the tunnel link netns t->net. They differ once\nthe device is created in or moved to a netns other than the one the\nrequest runs in. The rtnl changelink path checks CAP_NET_ADMIN only\nagainst dev_net(dev), so a caller privileged there but not in t->net can\nrewrite a tunnel that lives in t->net.\n\nGate both ops on rtnl_dev_link_net_capable() at their top, before any\nattribute is parsed.","publishedAt":"2026-08-15T05:52:09.194Z","updatedAt":"2026-10-19T21:19:24.924Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"129f8939e5af683cec3a1a5edcb40a64636ad81e","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"e3724dedf57761c6de52f4d604ec74f66fd61611","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"220162c9fedbe992da70d70f50a10da4f45f914c","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"1d4d8ee002083ca4ead5353662bf8362428af57f","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"0caa9f348f8b5356900de77b0bb89a697c4aff20","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"03d8843b143ebbbfaf48511922abc6e886575a61","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"c38c8b0db3c65b597e7ece317b6cb59de3d15e69","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"f00a50876d2818bd6dc86fa98b3ef360884c53c8","versionType":"git"},{"version":"d0201d2405dac8d9b16773e97709925e397552d0","status":"affected","versionType":"git"},{"version":"7943bb0f06365cf5e32f3cf8a6b29eeae981fb8a","status":"affected","versionType":"git"},{"version":"4.19.100","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.16","status":"affected","lessThan":"5.5","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_gre.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_gre.c"]}],"references":["https://git.kernel.org/stable/c/129f8939e5af683cec3a1a5edcb40a64636ad81e","https://git.kernel.org/stable/c/e3724dedf57761c6de52f4d604ec74f66fd61611","https://git.kernel.org/stable/c/220162c9fedbe992da70d70f50a10da4f45f914c","https://git.kernel.org/stable/c/1d4d8ee002083ca4ead5353662bf8362428af57f","https://git.kernel.org/stable/c/0caa9f348f8b5356900de77b0bb89a697c4aff20","https://git.kernel.org/stable/c/03d8843b143ebbbfaf48511922abc6e886575a61","https://git.kernel.org/stable/c/c38c8b0db3c65b597e7ece317b6cb59de3d15e69","https://git.kernel.org/stable/c/f00a50876d2818bd6dc86fa98b3ef360884c53c8"],"weaknesses":["CWE-862"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72052.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72052","state":"PUBLISHED","datePublished":"2026-08-15T05:52:09.194Z","dateUpdated":"2026-10-19T21:19:24.924Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.902Z"},"containers":{"cna":{"title":"net: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ip6_gre: require CAP_NET_ADMIN in the device netns for changelink\n\nip6gre_changelink() and ip6erspan_changelink() operate on at most two\nnetns, dev_net(dev) and the tunnel link netns t->net. They differ once\nthe device is created in or moved to a netns other than the one the\nrequest runs in. The rtnl changelink path checks CAP_NET_ADMIN only\nagainst dev_net(dev), so a caller privileged there but not in t->net can\nrewrite a tunnel that lives in t->net.\n\nGate both ops on rtnl_dev_link_net_capable() at their top, before any\nattribute is parsed."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"129f8939e5af683cec3a1a5edcb40a64636ad81e","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"e3724dedf57761c6de52f4d604ec74f66fd61611","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"220162c9fedbe992da70d70f50a10da4f45f914c","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"1d4d8ee002083ca4ead5353662bf8362428af57f","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"0caa9f348f8b5356900de77b0bb89a697c4aff20","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"03d8843b143ebbbfaf48511922abc6e886575a61","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"c38c8b0db3c65b597e7ece317b6cb59de3d15e69","versionType":"git"},{"version":"690afc165bb314354667f67157c1a1aea7dc797a","status":"affected","lessThan":"f00a50876d2818bd6dc86fa98b3ef360884c53c8","versionType":"git"},{"version":"d0201d2405dac8d9b16773e97709925e397552d0","status":"affected","versionType":"git"},{"version":"7943bb0f06365cf5e32f3cf8a6b29eeae981fb8a","status":"affected","versionType":"git"},{"version":"4.19.100","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"5.4.16","status":"affected","lessThan":"5.5","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_gre.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6_gre.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/129f8939e5af683cec3a1a5edcb40a64636ad81e"},{"url":"https://git.kernel.org/stable/c/e3724dedf57761c6de52f4d604ec74f66fd61611"},{"url":"https://git.kernel.org/stable/c/220162c9fedbe992da70d70f50a10da4f45f914c"},{"url":"https://git.kernel.org/stable/c/1d4d8ee002083ca4ead5353662bf8362428af57f"},{"url":"https://git.kernel.org/stable/c/0caa9f348f8b5356900de77b0bb89a697c4aff20"},{"url":"https://git.kernel.org/stable/c/03d8843b143ebbbfaf48511922abc6e886575a61"},{"url":"https://git.kernel.org/stable/c/c38c8b0db3c65b597e7ece317b6cb59de3d15e69"},{"url":"https://git.kernel.org/stable/c/f00a50876d2818bd6dc86fa98b3ef360884c53c8"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only via rtnetlink (RTM_NEWLINK changelink) on a local NETLINK_ROUTE socket, not by processing attacker-controlled network packets; kernel guidance classifies rtnetlink control-plane bugs as Local.\nAC:L - With CAP_NET_ADMIN in dev_net(dev) (e.g. via user namespaces), an attacker can move a cross-netns ip6gre device or use an existing one, then issue a single deterministic changelink; no uncontrollable races or rare kernel configs are required.\nPR:L - Exploitation requires CAP_NET_ADMIN in dev_net(dev) to issue RTM_NEWLINK changelink; this capability is available to unprivileged users creating user+network namespaces (unshare -Urn), not only real init-namespace root.\nUI:N - No victim interaction is needed once the attacker has a suitable ip6gre/ip6gretap/ip6erspan netdev handle and issues rtnetlink changelink requests to rewrite tunnel parameters.\nS:C - The flaw crosses the network-namespace security boundary: a caller authorized only in dev_net(dev) can modify ip6gre state and routing tables in t->net (another tenant/host namespace), violating netns isolation relied on by containers and Kubernetes.\nC:H - changelink can point tunnels/ERSPAN mirroring at attacker-chosen IPv6 endpoints and keys, enabling interception and collection of traffic that other namespaces expect to be privately encapsulated or mirrored only to trusted collectors.\nI:H - The attacker can arbitrarily rewrite tunnel link parameters (local/remote addresses, keys, encap, fwmark, ERSPAN index) and rehash tunnel state in the victim link netns, redirecting or corrupting network paths outside their authorization.\nA:H - Rewriting or unlinking tunnel entries can immediately break GRE/ERSPAN connectivity depended on for production links, causing sustained network outage or repeated loss of availability without kernel interaction from the victim."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:39:48.851Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.100"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72052","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:50:53.707122Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","type":"CWE","description":"CWE-862 Missing Authorization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T21:19:24.924Z"}}]}}}