CVE-2026-31692
Received Received - Intake
Linux Kernel CAP_NET_ADMIN Privilege Escalation via rtnetlink

Publication date: 2026-04-30

Last updated on: 2026-05-06

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-30
Last Modified
2026-05-06
Generated
2026-05-07
AI Q&A
2026-04-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 9 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.19 (inc) to 6.19.14 (exc)
linux linux_kernel From 2.6.33 (inc) to 6.18.24 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's rtnetlink component, specifically in the rtnl_newlink() function. The issue is that there is a missing capability check (netlink_ns_capable()) for the CAP_NET_ADMIN permission on the peer network namespace when creating paired network devices such as veth, vxcan, and netkit.

Because of this missing check, an unprivileged user who has a user namespace can create network interfaces in arbitrary network namespaces, including the init_net namespace, which is typically highly privileged.

The fix involves adding the netlink_ns_capable() check to verify that the user has CAP_NET_ADMIN capability in the peer namespace before allowing the creation of these devices.


How can this vulnerability impact me? :

This vulnerability can allow an unprivileged user with a user namespace to create network interfaces in arbitrary network namespaces, including highly privileged ones like init_net.

This could lead to unauthorized network configuration changes, potentially enabling privilege escalation, network disruption, or bypassing network security controls.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, ensure that your Linux kernel is updated to a version where the patch adding the netlink_ns_capable() check for CAP_NET_ADMIN in the peer namespace has been applied.

This patch prevents unprivileged users with user namespaces from creating network interfaces in arbitrary network namespaces, including init_net.

Until the update is applied, restrict unprivileged user namespaces or limit access to network namespace creation to trusted users only.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart