CVE-2026-139443
Not scored
net: devmem: check uid and netns in net_devmem_get_binding()
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bd61848900bff597764238f3a8ec67c815cd316e before 2593dedca98f2fa981dabfb0f63c319f391f3f20, from bd61848900bff597764238f3a8ec67c815cd316e before 7e3406ebfebe91956b94f113712287157323ee35, from bd61848900bff597764238f3a8ec67c815cd316e before 3a82195416fd71fdd6cb4ff80f611ec28073be16, 6.16 Not affected: before 6.16, from 6.18.66 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139443 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139443 changed 2026-11-30 | Public domain |