Shellfeed logo Shellfeed

CVE-2026-80888 · UNKNOWN

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

Details

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

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

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

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

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [65981f7681abdf92b25942222b629b9c512d0705 – 1715901e7052cf90fbf04c8303e563a47e021278]
  • Linux Kernel [3.13.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.183] [6.2.0 – 6.6.151] [6.7.0 – 6.12.103] [6.13.0 – 6.18.44] [6.19.0 – 7.1.8]

References