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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bd61848900bff597764238f3a8ec67c815cd316e to < 2593dedca98f2fa981dabfb0f63c319f391f3f20affectedbd61848900bff597764238f3a8ec67c815cd316e to < 7e3406ebfebe91956b94f113712287157323ee35affectedbd61848900bff597764238f3a8ec67c815cd316e to < 3a82195416fd71fdd6cb4ff80f611ec28073be16affected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.18.66 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected