CVE-2026-31692
Linux Kernel CAP_NET_ADMIN Privilege Escalation via rtnetlink
Publication date: 2026-04-30
Last updated on: 2026-05-06
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.