# CVE-2026-53190: drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:02.366Z
- Modified: 2026-11-06T17:18:12.920Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from eba57fb5498f2858768321e64570caea188455b8 before 898bd0ccfed71651b881660c5d20ad73b5203174; from eba57fb5498f2858768321e64570caea188455b8 before 73524e9f96a278b521f257a78a845c49eb522bc1; from eba57fb5498f2858768321e64570caea188455b8 before 8348567a6afb24e2c9cafe8a321162d0eebe1411; from eba57fb5498f2858768321e64570caea188455b8 before c0fffc874c264292e769f26194a2a5e66ce31810; from eba57fb5498f2858768321e64570caea188455b8 before 3f26bb732cc136ab20176697c92f32c9c84cb125; 6.5 (not affected: before 6.5; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.5 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/898bd0ccfed71651b881660c5d20ad73b5203174> (patch)
- <https://git.kernel.org/stable/c/73524e9f96a278b521f257a78a845c49eb522bc1> (patch)
- <https://git.kernel.org/stable/c/8348567a6afb24e2c9cafe8a321162d0eebe1411> (patch)
- <https://git.kernel.org/stable/c/c0fffc874c264292e769f26194a2a5e66ce31810> (patch)
- <https://git.kernel.org/stable/c/3f26bb732cc136ab20176697c92f32c9c84cb125> (patch)

## Sources

- CVE List: [CVE-2026-53190](https://www.cve.org/CVERecord?id=CVE-2026-53190), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53190](https://nvd.nist.gov/vuln/detail/CVE-2026-53190), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53190 · Whole record: https://cve.day/CVE-2026-53190.json · Rebuilt by cve.day 2026-11-25T22:59:26.126Z
