CVE-2026-100031: RDMA/uverbs: Fix uobject leak in DMABUF release
In the Linux kernel, the following vulnerability has been resolved:
RDMA/uverbs: Fix uobject leak in DMABUF release
uverbsdmabufrelease() 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 uverbsuobjectrelease() and leaks the uobject and ufile references.
Clear dmabuf->priv before dmabufput() on allocation failure and use that NULL pointer to identify an abort. Otherwise, always call uverbsuobjectrelease(). This also avoids reading a freed uobject if release is deferred until after the allocation has been aborted.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Compensating control
On allocation failure, clear dmabuf->priv before calling dma_buf_put().
- Compensating control
Always call uverbs_uobject_release() during uverbs DMABUF release.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems are exposed when they use the RDMA uverbs DMA-BUF path. The problematic condition occurs when a uverbs file descriptor is closed before its associated DMA-BUF file descriptor.
What does an attacker or triggering process need to do?
The process needs to create the relevant RDMA uverbs DMA-BUF state and close the uverbs FD before the DMA-BUF FD. That cleanup order can cause release processing to be skipped.
What is the impact of triggering the flaw?
The affected cleanup path can leak the uobject and ufile references. In a deferred-release scenario following an aborted allocation, it can also read a freed uobject.