CVE-2026-53190

drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()

MEDIUM
5.5
CVSS Score
Published: June 25, 2026 at 08:39 AM UTC
Updated: July 6, 2026 at 12:56 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.18.366.19 ≤ v < 7.0.136.5 ≤ v < 6.12.946.5 ≤ v < 6.18.366.5 ≤ v < 6.6.1436.5 ≤ v < 7.0.136.5 ≤ v < 7.16.7 ≤ v < 6.12.947.1 rc17.1 rc27.1 rc37.1 rc47.1 rc57.1 rc67.1 rc7eba57fb5498f2858768321e64570caea188455b8
Vendor states this is fixed in 3f26bb732cc136ab20176697c92f32c9c84cb125 (fixed)
Vendor states this is fixed in 73524e9f96a278b521f257a78a845c49eb522bc1 (fixed)
Vendor states this is fixed in 8348567a6afb24e2c9cafe8a321162d0eebe1411 (fixed)
Vendor states this is fixed in 898bd0ccfed71651b881660c5d20ad73b5203174 (fixed)
Vendor states this is fixed in c0fffc874c264292e769f26194a2a5e66ce31810 (fixed)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.36 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.13 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card