{"id":"CVE-2026-68142","aliases":["CVE-2026-68142"],"related":[],"kind":"vulnerability","state":"published","title":"geneve: require CAP_NET_ADMIN in the device netns for changelink","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngeneve: 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 sticky underlay netns geneve->net. They differ once the device is\ncreated in or moved to a netns other than the one the request runs in.\nThe rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev),\nso a caller privileged there but not in geneve->net can rewrite a geneve\ndevice whose underlay lives in geneve->net.\n\ngeneve_changelink() applies the new configuration against geneve->net:\ngeneve_link_config() and the geneve_quiesce()/geneve_unquiesce() pair\nreopen the underlay sockets in that netns (geneve_sock_add() uses\ngeneve->net), so the same reasoning as the tunnel changelink series\napplies here.\n\nGate geneve_changelink() with rtnl_dev_link_net_capable(), at the top of\nthe op before any attribute is parsed, matching ipgre_changelink() and\nthe rest of the \"require CAP_NET_ADMIN in the device netns for\nchangelink\" series.\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngeneve: 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 sticky underlay netns geneve->net. They differ once the device is\ncreated in or moved to a netns other than the one the request runs in.\nThe rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev),\nso a caller privileged there but not in geneve->net can rewrite a geneve\ndevice whose underlay lives in geneve->net.\n\ngeneve_changelink() applies the new configuration against geneve->net:\ngeneve_link_config() and the geneve_quiesce()/geneve_unquiesce() pair\nreopen the underlay sockets in that netns (geneve_sock_add() uses\ngeneve->net), so the same reasoning as the tunnel changelink series\napplies here.\n\nGate geneve_changelink() with rtnl_dev_link_net_capable(), at the top of\nthe op before any attribute is parsed, matching ipgre_changelink() and\nthe rest of the \"require CAP_NET_ADMIN in the device netns for\nchangelink\" series.\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","source":"cvelist"}],"published":"2026-08-10T11:59:06.048Z","modified":"2026-11-30T23:58:35.910Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"a5522963c57f12df5f9db804ebfc472b58eef0ae","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"278c6a31ee27c931c722202c8c06cc3253923254","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"11a7d989d00160481a273eb4f7f05f64b5a6ffdf","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"2abdacc927c92fa6a9cc8341e8c9b88dcb561553","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"9de5518fc1fab583526a8f66b8e505c4864dc60a","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"f8c498585d2a08aa623748353c3e61467b7e9fd2","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"95f45e20f1b2cec13823f0f68060ab4b2261b2c1","status":"affected"},{"type":"git","introduced":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","fixed":"8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14","fixed":"5.10.265"},{"status":"affected","introduced":"5.11","fixed":"5.15.216"},{"status":"affected","introduced":"5.16","fixed":"6.1.183"},{"status":"affected","introduced":"6.2","fixed":"6.6.148"},{"status":"affected","introduced":"6.7","fixed":"6.12.101"},{"status":"affected","introduced":"6.13","fixed":"6.18.42"},{"status":"affected","introduced":"6.19","fixed":"7.1.6"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"},{"status":"affected","version":"7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a5522963c57f12df5f9db804ebfc472b58eef0ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/278c6a31ee27c931c722202c8c06cc3253923254","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11a7d989d00160481a273eb4f7f05f64b5a6ffdf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2abdacc927c92fa6a9cc8341e8c9b88dcb561553","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9de5518fc1fab583526a8f66b8e505c4864dc60a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8c498585d2a08aa623748353c3e61467b7e9fd2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95f45e20f1b2cec13823f0f68060ab4b2261b2c1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:44:41.067Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68142","url":"https://www.cve.org/CVERecord?id=CVE-2026-68142","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:53.417Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68142","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68142","licence":"Public domain","modified":"2026-11-30T23:58:35.910Z"}],"updatedAt":"2026-12-01T00:02:19.847Z","epss":{"score":0.00124,"percentile":0.02331,"date":"2026-12-01T12:00:22.000Z"}}