Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139443

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

Published 30/11/2026 · Updated 30/11/2026 · Linux

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.

Affected products and versions

Linux Linuxbd61848900bff597764238f3a8ec67c815cd316e – < 2593dedca98f2fa981dabfb0f63c319f391f3f20 · bd61848900bff597764238f3a8ec67c815cd316e – < 7e3406ebfebe91956b94f113712287157323ee35 · bd61848900bff597764238f3a8ec67c815cd316e – < 3a82195416fd71fdd6cb4ff80f611ec28073be16Fixed in: 2593dedca98f2fa981dabfb0f63c319f391f3f20 · 7e3406ebfebe91956b94f113712287157323ee35 · 3a82195416fd71fdd6cb4ff80f611ec28073be16
Linux Linux6.16Fixed in: 6.18.66 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.