CVE-2021-47655 Details
Description
In the Linux kernel, the following vulnerability has been resolved: media: venus: vdec: fixed possible memory leak issue The venus_helper_alloc_dpb_bufs() implementation allows an early return on an error path when checking the id from ida_alloc_min() which would not release the earlier buffer allocation. Move the direct kfree() from the error checking of dma_alloc_attrs() to the common fail path to ensure that allocations are released on all error paths in this function. Addresses-Coverity: 1494120 ("Resource leak")
A memory leak vulnerability has been identified in the Linux kernel's Venus video decoder component. The issue arises in the 'venus_helper_alloc_dpb_bufs()' function, where an error in the ID allocation process can lead to an early return without releasing previously allocated buffers. This flaw has been addressed by moving the buffer deallocation from the error-checking phase of the DMA allocation to a common failure path, ensuring that all allocations are properly released in case of an error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/55bccafc246b2e64763a155ec454470c07a54a6e | kernel.org | Patch |
| https://git.kernel.org/stable/c/5cedfe8aaf1875a5305897107b7f298db4260019 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5f89d05ba93df9c2cdfe493843f93288e55e99eb | kernel.org | Patch |
| https://git.kernel.org/stable/c/8403fdd775858a7bf04868d43daea0acbe49ddfc | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 18, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |