CVE-2026-68142
geneve: require CAP_NET_ADMIN in the device netns for changelink
Reported by linux · Published August 10, 2026
In the Linux kernel, the following vulnerability has been resolved: geneve: require CAP_NET_ADMIN in the device netns for changelink A tunnel changelink() operates on at most two netns, dev_net(dev) and the sticky underlay netns geneve->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 geneve->net can rewrite a geneve device whose underlay lives in geneve->net. geneve_changelink() applies the new configuration against geneve->net: geneve_link_config() and the geneve_quiesce()/geneve_unquiesce() pair reopen the underlay sockets in that netns (geneve_sock_add() uses geneve->net), so the same reasoning as the tunnel changelink series applies here. Gate geneve_changelink() with rtnl_dev_link_net_capable(), at the top of the op before any attribute is parsed, matching ipgre_changelink() and the rest of the "require CAP_NET_ADMIN in the device netns for changelink" series. Found by 0sec automated security-research tooling (https://0sec.ai).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| perf | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.44-99.149.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel-livepatch-6.12.103-127.188 | Amazon Linux | 1:1.0-0.amzn2023 |
13 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a, 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a, 5b861f6baa3a22a48d7a4ad0ce38a223d36c978a |
| Linux | Linux | 4.14, 0, 5.10.265 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.103-127.188 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf6.12 | 0 |
…and 18 more
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 16, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68142
vulnetix vdb fixes CVE-2026-68142
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68142/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart