In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Fix uobject leak in DMABUF release uverbs_dmabuf_release() treats a...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:14linux |
< 7.3.4-1→ 7.3.4-1 |
7.3.4-1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org