CVE-2026-31692 rtnetlink: add missing netlink_ns_capable() check for peer netns
Unprivileged users can create network interfaces in arbitrary namespaces, including init_net, due to a missing capability check in the Linux kernel.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-31692?
CVE-2026-31692 is a medium-severity vulnerability in Linux kernel, published on 30 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
rtnetlink: add missing netlink_ns_capable() check for peer netns
rtnl_newlink() lacks a CAP_NET_ADMIN capability check on the peer network namespace when creating paired devices (veth, vxcan, netkit). This allows an unprivileged user with a user namespace to create interfaces in arbitrary network namespaces, including init_net.
Add a netlink_ns_capable() check for CAP_NET_ADMIN in the peer namespace before allowing device creation to proceed.
Which versions are affected by CVE-2026-31692?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-31692?
Apply the vendor's patch.
Is CVE-2026-31692 being exploited?
There is no known exploitation of CVE-2026-31692 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-85115, BELL-CVE-2026-31692, DEBIAN-CVE-2026-31692, GHSA-xpxm-p6f4-j2mf, ROOT-OS-DEBIAN-11-CVE-2026-31692, ROOT-OS-DEBIAN-12-CVE-2026-31692 and 4 more.