CVE-2026-100031
7.0high
RDMA/uverbs: Fix uobject leak in DMABUF release
- Severity
- 7.0high CVSS:3.1 by Linux
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Fix uobject leak in DMABUF release uverbs_dmabuf_release() treats a NULL uobj->context as an aborted allocation, but normal ufile cleanup also clears it. Closing the uverbs FD before the dma-buf FD therefore skips uverbs_uobject_release() and leaks the uobject and ufile references. Clear dmabuf->priv before dma_buf_put() on allocation failure and use that NULL pointer to identify an abort. Otherwise, always call uverbs_uobject_release(). This also avoids reading a freed uobject if release is deferred until after the allocation has been aborted.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 before 28435e18a0dc1316e7b4bd702bfe10457f729c8e, from 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 before 4a953ee228f5544a3e5515eed88bf09d1a5adb94, 7.0 Not affected: before 7.0, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100031 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-100031 changed 2026-12-01 | Public domain |