In the Linux kernel, the following vulnerability has been resolved: dma-buf: fix UAF in dma_buf_fd() tracepoint Once FD_ADD() returns, the fd is… (CVE-2026-63910)
In the Linux kernel, the following vulnerability has been resolved: dma-buf: fix UAF in dma_buf_fd() tracepoint Once FD_ADD() returns, the fd is live in the file descriptor table and a thread sharing that table can close() it before DMA_BUF_TRACE() runs. The close drops the last reference, __fput() frees the dma_buf, and the tracepoint then dereferences dmabuf to take dmabuf->name_lock -- slab-use-after-free. Split FD_ADD() back into get_unused_fd_flags() + fd_install() and emit the tracepoint between them. While the fdtable slot is reserved with a NULL file pointer, a racing close() returns -EBADF without entering __fput(), so the dma_buf stays alive across the trace. Same approach as commit 2d76319c4cbb ("dma-buf: fix UAF in dma_buf_put() tracepoint"). This undoes the FD_ADD() conversion done in commit 34dfce523c90 ("dma: convert dma_buf_fd() to FD_ADD()"); FD_ADD() has no place to hook the tracepoint safely.
AI Analysis
Technical Summary
The Linux kernel dma-buf subsystem had a use-after-free vulnerability in the dma_buf_fd() tracepoint. After FD_ADD() returns, the fd is live in the file descriptor table, but a concurrent thread can close it before the tracepoint executes. This close operation frees the dma_buf, causing the tracepoint to dereference a freed object, resulting in a slab use-after-free. The fix reverts the FD_ADD() conversion and splits it into two steps, inserting the tracepoint between them. This approach reserves the fdtable slot with a NULL file pointer during the race window, causing a racing close() to fail safely without freeing the dma_buf, thus preventing the use-after-free.
Potential Impact
This vulnerability could lead to kernel memory corruption due to use-after-free, potentially causing system instability or crashes. No information about exploitation in the wild is available. The impact is limited to kernel memory safety and tracepoint operations related to dma-buf file descriptors.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that reverts the unsafe FD_ADD() usage and inserts the tracepoint safely between get_unused_fd_flags() and fd_install(). Users should update to the fixed kernel versions once available. Patch status is not yet confirmed from vendor advisories; check the official Linux kernel security advisories for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: dma-buf: fix UAF in dma_buf_fd() tracepoint Once FD_ADD() returns, the fd is… (CVE-2026-63910)
Description
In the Linux kernel, the following vulnerability has been resolved: dma-buf: fix UAF in dma_buf_fd() tracepoint Once FD_ADD() returns, the fd is live in the file descriptor table and a thread sharing that table can close() it before DMA_BUF_TRACE() runs. The close drops the last reference, __fput() frees the dma_buf, and the tracepoint then dereferences dmabuf to take dmabuf->name_lock -- slab-use-after-free. Split FD_ADD() back into get_unused_fd_flags() + fd_install() and emit the tracepoint between them. While the fdtable slot is reserved with a NULL file pointer, a racing close() returns -EBADF without entering __fput(), so the dma_buf stays alive across the trace. Same approach as commit 2d76319c4cbb ("dma-buf: fix UAF in dma_buf_put() tracepoint"). This undoes the FD_ADD() conversion done in commit 34dfce523c90 ("dma: convert dma_buf_fd() to FD_ADD()"); FD_ADD() has no place to hook the tracepoint safely.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel dma-buf subsystem had a use-after-free vulnerability in the dma_buf_fd() tracepoint. After FD_ADD() returns, the fd is live in the file descriptor table, but a concurrent thread can close it before the tracepoint executes. This close operation frees the dma_buf, causing the tracepoint to dereference a freed object, resulting in a slab use-after-free. The fix reverts the FD_ADD() conversion and splits it into two steps, inserting the tracepoint between them. This approach reserves the fdtable slot with a NULL file pointer during the race window, causing a racing close() to fail safely without freeing the dma_buf, thus preventing the use-after-free.
Potential Impact
This vulnerability could lead to kernel memory corruption due to use-after-free, potentially causing system instability or crashes. No information about exploitation in the wild is available. The impact is limited to kernel memory safety and tracepoint operations related to dma-buf file descriptors.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that reverts the unsafe FD_ADD() usage and inserts the tracepoint safely between get_unused_fd_flags() and fd_install(). Users should update to the fixed kernel versions once available. Patch status is not yet confirmed from vendor advisories; check the official Linux kernel security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-cwcv-9vv2-wx88
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63910"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a5d27ab2a4a8d598912f8f6
Added to database: 07/19/2026, 19:38:19 UTC
Last enriched: 07/19/2026, 20:09:26 UTC
Last updated: 09/03/2026, 10:52:10 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.