CVE-2026-80888: drm/vmwgfx: drop dma_buf reference on foreign-fd prime import

Published Sep 4, 2026
·
Updated

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

drm/vmwgfx: drop dmabuf reference on foreign-fd prime import

ttmprimefdtohandle() returns -ENOSYS when the imported fd's dmabuf->ops do not match the ttmobjectdevice's ops, but does so without releasing the reference acquired by dmabufget(). Any unprivileged renderD client passing a non-vmwgfx prime fd through the DRMVMWGBSURFACEREF{,EXT} path leaks one dmabuf reference per call and indefinitely pins the foreign exporter's GEM resources.

Funnel the error path through the existing dmabufput() so the reference is always dropped.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·05:11 PM
Data Sourced
via MITRE·05:11 PM
Description

Frequently Asked Questions

1

Who can trigger the resource leak?

An unprivileged client with access to a vmwgfx render node can trigger it through the DRM_VMW_GB_SURFACE_REF or DRM_VMW_GB_SURFACE_REF_EXT path by supplying a non-vmwgfx PRIME file descriptor.

2

What resources are affected by repeated exploitation?

Each triggering call leaks one dma_buf reference. This indefinitely pins the foreign exporter’s GEM resources, so repeated calls can accumulate retained resources.

3

What condition causes the vulnerable error path?

The issue occurs when the imported file descriptor’s dma_buf operations do not match the vmwgfx TTM object device operations. In that case, ttm_prime_fd_to_handle() returns -ENOSYS without dropping the reference acquired by dma_buf_get().

4

What does the fix change?

The fix routes the error path through dma_buf_put(), ensuring that the dma_buf reference is released when the PRIME import is rejected.

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