CVE-2026-63910: dma-buf: fix UAF in dma_buf_fd() tracepoint

Published Jul 19, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dma-buf: fix UAF in dmabuffd() tracepoint

Once FDADD() returns, the fd is live in the file descriptor table and a thread sharing that table can close() it before DMABUFTRACE() runs. The close drops the last reference, fput() frees the dmabuf, and the tracepoint then dereferences dmabuf to take dmabuf->namelock -- slab-use-after-free.

Split FDADD() back into getunusedfdflags() + fdinstall() 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 dmabuf stays alive across the trace. Same approach as commit 2d76319c4cbb ("dma-buf: fix UAF in dmabufput() tracepoint").

This undoes the FDADD() conversion done in commit 34dfce523c90 ("dma: convert dmabuffd() to FDADD()"); FDADD() has no place to hook the tracepoint safely.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=7.0<7.0.12
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
debian/linux<7.0.12-1
7.0.12-1
linux/kernel>=7.0.0<7.0.12
7.0.12
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Event History

Jul 19, 2026
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionSeverity
Data Sourced
via OSV·02:55 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203