drm/vmwgfx: drop dma_buf reference on foreign-fd prime import (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
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.
References
- https://git.kernel.org/stable/c/1715901e7052cf90fbf04c8303e563a47e021278
- https://git.kernel.org/stable/c/c4fd91ee7228f56fbb4cf528757dc17ffefeb0ee
- https://git.kernel.org/stable/c/619c3cfa88e09603a13d918f754808db2dda7057
- https://git.kernel.org/stable/c/c1c22fca0a0896a452a7cb92422d67babd65b4be
- https://git.kernel.org/stable/c/a1e972fa94c3a8069e022c67b9d97c7aa7b05293
- https://git.kernel.org/stable/c/a8434b145b1e467940334c58c00af241e9494c5f
- https://git.kernel.org/stable/c/4df39eb99bb47d1f24d1952c23b21b10988356bf
- https://git.kernel.org/stable/c/f739416dc555fa205a785e5135d73fa39b26f35d
European references
- ENISA EUVD · EUVD-2026-71638
- GCVE · GCVE-0-2026-80888
CERT-FR advisories
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 65981f7681abdf92b25942222b629b9c512d0705 < 1715901e7052cf90fbf04c8303e563a47e021278 ; affected 65981f7681abdf92b25942222b629b9c512d0705 < c4fd91ee7228f56fbb4cf528757dc17ffefeb0ee ; affected 65981f7681abdf92b25942222b629b9c512d0705 < 619c3cfa88e09603a13d918f754808db2dda7057 ; affected 65981f7681abdf92b25942222b629b9c512d0705 < c1c22fca0a0896a452a7cb92422d67babd65b4be ; affected 65981f7681abdf92b25942222b629b9c512d0705 < a1e972fa94c3a8069e022c67b9d97c7aa7b05293 ; affected 65981f7681abdf92b25942222b629b9c512d0705 < a8434b145b1e467940334c58c00af241e9494c5f |
| Linux · Linux | affected 3.13 ; unaffected 0 < 3.13 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |