cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-139443
  • GHSA-cph2-36cc-wj6h
  • EUVD-2026-139149

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.16none stated
    before 6.16: not affectednone stated
    from 6.18.66 up to 6.18.*: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.