CVE-2026-53190
MEDIUMdrm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()
Title source: cnaDescription
In the Linux kernel, the following vulnerability has been resolved: drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait() dma_fence_unwrap_for_each() internally calls dma_fence_unwrap_first() which does cursor->chain = dma_fence_get(head), taking an extra reference. On normal loop completion, dma_fence_unwrap_next() releases this via dma_fence_chain_walk() -> dma_fence_put(). When virtio_gpu_do_fence_wait() fails and the function returns early from inside the loop, the cursor->chain reference is never released. This is the only caller in the entire kernel that does an early return inside dma_fence_unwrap_for_each. Add dma_fence_put(itr.chain) before the early return.
References (5)
Core 5
Core References
Scores
CVSS v3
5.5
EPSS
0.0013
EPSS Percentile
2.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (18)
linux/Kernel
6.13.0 - 6.18.36linux
linux/Kernel
6.19.0 - 7.0.13linux
linux/Kernel
6.5.0 - 6.6.143linux
linux/Kernel
6.7.0 - 6.12.94linux
Linux/Linux
< 6.5
Linux/Linux
6.12.94 - 6.12.*
Linux/Linux
6.18.36 - 6.18.*
Linux/Linux
6.5
Linux/Linux
6.6.143 - 6.6.*
Linux/Linux
7.0.13 - 7.0.*
... and 8 more
Published
Jun 25, 2026
Tracked Since
Jun 25, 2026