VDB
DEBIAN-CVE-2021-47305
DEBIAN-CVE-2021-47305
PUBLISHED
CVSS 5.5 MEDIUM
In the Linux kernel, the following vulnerability has been resolved: dma-buf/sync_file: Don't leak fences on merge failure Each add_fence() call does a dma_fence_get() on the relevant fence. In the error path, we weren't calling dma_fence_put() so all those fences got leaked. Also, in the krealloc_array failure case, we weren't freeing the fences array. Instead, ensure that i and fences are always zero-initialized and dma_fence_put() all the fences and kfree(fences) on every error path.
Risk Scores
CVSS v3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 0, 0, 0 |
| Debian:11 | linux | *, 5.10.46-4, 5.10.46-5 |
| Debian:13 | linux | 0, 0, 0 |
| Debian:12 | linux | 0, 0, 0 |
Timeline
- May 21, 2024 CVE Published
- Apr 28, 2026 CVE Updated