CVE-2026-139443

net: devmem: check uid and netns in net_devmem_get_binding()

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: devmem: check uid and netns in net_devmem_get_binding()

NETDEV_CMD_BIND_TX is unprivileged, and dmabuf binding IDs are allocated
from a single global xarray. Currently net_devmem_get_binding() looks up
the binding by ID without checking whether the sending socket belongs to
the same user or network namespace that created the binding.

Record the creating netlink socket's network namespace and UID on the
binding, and verify both in net_devmem_get_binding() before checking the
route destination device. Return -EINVAL on mismatch so callers cannot
distinguish non-existent IDs from bindings owned by other users.

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel’s devmem interface allows an unprivileged user to bind a DMA buffer to a network device without verifying ownership or network namespace. The system fails to check that the user and network namespace of the requesting socket match those associated with the binding ID, enabling the attacker to bind resources they do not own. This oversight could be used to use or hijack DMA buffers, potentially exposing data or disrupting network operations. The vulnerability falls under an improper authorization weakness.

Affected Systems

The issue affects all Linux kernel releases before the patch that introduces a UID and network namespace check in net_devmem_get_binding(). In particular, any host running a kernel derived from the Linux source tree prior to the applied commits will be vulnerable.

Risk and Exploitability

The CVSS score is not provided in the data, and EPSS is not available, indicating no publicly known exploitation metrics. However, because the vulnerability permits privilege escalation to bind DMA buffers, it is a high-severity security concern for systems exposed to local users who could exploit the unchecked binding operation. The vulnerability is not listed in the CISA KEV catalog, but its potential impact warrants immediate attention. Attackers would need local access to invoke NETDEV_CMD_BIND_TX and a DMA buffer; once done, they could use or sabotage the buffer. The lack of checks allows spoofing of resource ownership across users and network namespaces.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that adds UID and network namespace validation to net_devmem_get_binding() (the commits referenced in the advisory).
  • If an upgrade is not immediately available, restrict the use of NETDEV_CMD_BIND_TX by disabling the devmem feature or denying the CAP_NET_ADMIN capability to untrusted processes that may invoke the command.
  • Monitor system logs for suspicious NETDEV_CMD_BIND_TX calls and enforce network namespace isolation on critical services to reduce the risk surface.

Generated by OpenCVE AI on November 30, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-285
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: devmem: check uid and netns in net_devmem_get_binding() NETDEV_CMD_BIND_TX is unprivileged, and dmabuf binding IDs are allocated from a single global xarray. Currently net_devmem_get_binding() looks up the binding by ID without checking whether the sending socket belongs to the same user or network namespace that created the binding. Record the creating netlink socket's network namespace and UID on the binding, and verify both in net_devmem_get_binding() before checking the route destination device. Return -EINVAL on mismatch so callers cannot distinguish non-existent IDs from bindings owned by other users.
Title net: devmem: check uid and netns in net_devmem_get_binding()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM