All reports
Medium

kernel: rtnetlink: add missing netlink_ns_capable() check for peer netns

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-31692

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel's rtnetlink component. An unprivileged local user, leveraging a user namespace, can exploit a missing CAP_NET_ADMIN capability check in the rtnl_newlink() function. This allows the user to create paired network devices in arbitrary network namespaces, including the init_net (initial network namespace). Such unauthorized creation of network interfaces could lead to unexpected network configurations and potential system instability or resource exhaustion.