{"api_version":"1","generated_at":"2026-08-12T02:25:39+00:00","cve":"CVE-2026-68142","urls":{"html":"https://cve.report/CVE-2026-68142","api":"https://cve.report/api/cve/CVE-2026-68142.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68142","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68142"},"summary":{"title":"geneve: require CAP_NET_ADMIN in the device netns for changelink","description":"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).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 13:19:59","updated_at":"2026-08-10 13:19:59"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9de5518fc1fab583526a8f66b8e505c4864dc60a","name":"https://git.kernel.org/stable/c/9de5518fc1fab583526a8f66b8e505c4864dc60a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01","name":"https://git.kernel.org/stable/c/8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/95f45e20f1b2cec13823f0f68060ab4b2261b2c1","name":"https://git.kernel.org/stable/c/95f45e20f1b2cec13823f0f68060ab4b2261b2c1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f8c498585d2a08aa623748353c3e61467b7e9fd2","name":"https://git.kernel.org/stable/c/f8c498585d2a08aa623748353c3e61467b7e9fd2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2abdacc927c92fa6a9cc8341e8c9b88dcb561553","name":"https://git.kernel.org/stable/c/2abdacc927c92fa6a9cc8341e8c9b88dcb561553","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68142","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68142","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a 2abdacc927c92fa6a9cc8341e8c9b88dcb561553 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a 9de5518fc1fab583526a8f66b8e505c4864dc60a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a f8c498585d2a08aa623748353c3e61467b7e9fd2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a 95f45e20f1b2cec13823f0f68060ab4b2261b2c1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a 8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.148 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.101 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.42 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc5 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/geneve.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2abdacc927c92fa6a9cc8341e8c9b88dcb561553","status":"affected","version":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","versionType":"git"},{"lessThan":"9de5518fc1fab583526a8f66b8e505c4864dc60a","status":"affected","version":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","versionType":"git"},{"lessThan":"f8c498585d2a08aa623748353c3e61467b7e9fd2","status":"affected","version":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","versionType":"git"},{"lessThan":"95f45e20f1b2cec13823f0f68060ab4b2261b2c1","status":"affected","version":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","versionType":"git"},{"lessThan":"8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01","status":"affected","version":"5b861f6baa3a22a48d7a4ad0ce38a223d36c978a","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/geneve.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.14"},{"lessThan":"4.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.148","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.101","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.42","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc5","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.148","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.101","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.42","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.6","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc5","versionStartIncluding":"4.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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)."}],"providerMetadata":{"dateUpdated":"2026-08-10T11:59:06.048Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2abdacc927c92fa6a9cc8341e8c9b88dcb561553"},{"url":"https://git.kernel.org/stable/c/9de5518fc1fab583526a8f66b8e505c4864dc60a"},{"url":"https://git.kernel.org/stable/c/f8c498585d2a08aa623748353c3e61467b7e9fd2"},{"url":"https://git.kernel.org/stable/c/95f45e20f1b2cec13823f0f68060ab4b2261b2c1"},{"url":"https://git.kernel.org/stable/c/8efb8f8bbb353b8f2fdf4f37534c6d96c9f69e01"}],"title":"geneve: require CAP_NET_ADMIN in the device netns for changelink","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-68142","datePublished":"2026-08-10T11:59:06.048Z","dateReserved":"2026-07-30T09:28:09.370Z","dateUpdated":"2026-08-10T11:59:06.048Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-10 13:19:59","lastModifiedDate":"2026-08-10 13:19:59","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68142","Ordinal":"1","Title":"geneve: require CAP_NET_ADMIN in the device netns for changelink","CVE":"CVE-2026-68142","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68142","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"geneve: require CAP_NET_ADMIN in the device netns for changelink"}]}}}