{"id":"CVE-2026-31692","summary":"rtnetlink: add missing netlink_ns_capable() check for peer netns","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtnetlink: add missing netlink_ns_capable() check for peer netns\n\nrtnl_newlink() lacks a CAP_NET_ADMIN capability check on the peer\nnetwork namespace when creating paired devices (veth, vxcan,\nnetkit). This allows an unprivileged user with a user namespace\nto create interfaces in arbitrary network namespaces, including\ninit_net.\n\nAdd a netlink_ns_capable() check for CAP_NET_ADMIN in the peer\nnamespace before allowing device creation to proceed.","modified":"2026-07-15T01:49:03.781162345Z","published":"2026-04-30T10:34:51.589Z","related":["CGA-4m28-w32w-px9f"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31692.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0975b64ffb34560042090a5986c3a02e6c80f36f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b735ef81286007794a227ce2539419479c02a5f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d04cc16d3624218a5458b2b664ae431f1b3b334d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31692.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31692"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"81adee47dfb608df3ad0b91d230fb3cef75f0060"},{"fixed":"0975b64ffb34560042090a5986c3a02e6c80f36f"},{"fixed":"d04cc16d3624218a5458b2b664ae431f1b3b334d"},{"fixed":"7b735ef81286007794a227ce2539419479c02a5f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31692.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.33"},{"fixed":"6.18.24"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.14"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31692.json"}}],"schema_version":"1.7.5"}