{
  "id": "CVE-2026-63829",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63829",
  "published_at": "2026-07-19T12:02:23.191Z",
  "title": "net: ip_gre: require CAP_NET_ADMIN in the device netns for changelink",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ip_gre: require CAP_NET_ADMIN in the device netns for changelink\n\nA tunnel changelink() operates on at most two netns, dev_net(dev) and\nthe tunnel link netns t-\u003enet. They differ once the device is created in\nor moved to a netns other than the one the request runs in. The rtnl\nchangelink path checks CAP_NET_ADMIN only against dev_net(dev), so a\ncaller privileged there but not in t-\u003enet can rewrite a tunnel that\nlives in t-\u003enet.\n\nAdd rtnl_dev_link_net_capable() next to rtnl_get_net_ns_capable() in\nnet/core/rtnetlink.c. It requires CAP_NET_ADMIN in the link netns and is\nskipped when the link netns is dev_net(dev), where the rtnl path already\nchecked it. The other patches in this series use the same helper.\n\nGate ipgre_changelink() and erspan_changelink() with it, at the top of\nthe op before any attribute is parsed, because the parsers update live\ntunnel fields first. ipgre_netlink_parms() sets t-\u003ecollect_md before\nip_tunnel_changelink() runs.\n\nCommit 8b484efd5cb4 (\"ip6: vti: Use ip6_tnl.net in\nvti6_siocdevprivate().\") added the same check on the ioctl path. This\nadds it on RTM_NEWLINK.",
  "cwe": "CWE-862",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 19275943d8fe903eb7b9aa53e380e41efd042ada",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 866b0f5ae599490bd496fd84581c68ac8b94e6af",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 92b766fc55156e0da2ecd0c2302c971118f8a229",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c e54c05ed3d9c28733fb9e5837219aca3691defa3",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 9831bc9ecb402957810c2045c663fbfe9b09e296",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 1697957eb0971d420dde42862b88eb43506a1105",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 47b5d3d506609b08b2e1f7c14f0b681a1953d572",
          "\u003e= b57708add31494175be741ed3fd24023b50c3423, \u003c 8165f7ff57d9667d2bb477ef6af83ede7fed4ad7"
        ],
        "fixed_in": [
          "19275943d8fe903eb7b9aa53e380e41efd042ada",
          "866b0f5ae599490bd496fd84581c68ac8b94e6af",
          "92b766fc55156e0da2ecd0c2302c971118f8a229",
          "e54c05ed3d9c28733fb9e5837219aca3691defa3",
          "9831bc9ecb402957810c2045c663fbfe9b09e296",
          "1697957eb0971d420dde42862b88eb43506a1105",
          "47b5d3d506609b08b2e1f7c14f0b681a1953d572",
          "8165f7ff57d9667d2bb477ef6af83ede7fed4ad7"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.16"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.95",
          "6.18.38",
          "7.1.3",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 19275943d8fe903eb7b9aa53e380e41efd042ada or 866b0f5ae599490bd496fd84581c68ac8b94e6af or 92b766fc55156e0da2ecd0c2302c971118f8a229 or e54c05ed3d9c28733fb9e5837219aca3691defa3 or 9831bc9ecb402957810c2045c663fbfe9b09e296 or 1697957eb0971d420dde42862b88eb43506a1105 or 47b5d3d506609b08b2e1f7c14f0b681a1953d572 or 8165f7ff57d9667d2bb477ef6af83ede7fed4ad7 or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.95 or 6.18.38 or 7.1.3 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
