CVE-2026-80888 PUBLISHED

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

Assigner: Linux
Reserved: 26.08.2026 Published: 04.09.2026 Updated: 04.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 65981f7681abdf92b25942222b629b9c512d0705 to 619c3cfa88e09603a13d918f754808db2dda7057 (excl.)
  • affected from 65981f7681abdf92b25942222b629b9c512d0705 to c1c22fca0a0896a452a7cb92422d67babd65b4be (excl.)
  • affected from 65981f7681abdf92b25942222b629b9c512d0705 to a1e972fa94c3a8069e022c67b9d97c7aa7b05293 (excl.)
  • affected from 65981f7681abdf92b25942222b629b9c512d0705 to a8434b145b1e467940334c58c00af241e9494c5f (excl.)
  • affected from 65981f7681abdf92b25942222b629b9c512d0705 to 4df39eb99bb47d1f24d1952c23b21b10988356bf (excl.)
  • affected from 65981f7681abdf92b25942222b629b9c512d0705 to f739416dc555fa205a785e5135d73fa39b26f35d (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.13 is affected
  • unaffected from 0 to 3.13 (excl.)
  • unaffected from 6.1.183 to 6.1.* (incl.)
  • unaffected from 6.6.151 to 6.6.* (incl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References