{"id":"CVE-2021-47655","published":"2025-02-26T01:54:19Z","modified":"2026-05-11T13:58:42Z","title":"media: venus: vdec: fixed possible memory leak issue","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: venus: vdec: fixed possible memory leak issue\n\nThe venus_helper_alloc_dpb_bufs() implementation allows an early return\non an error path when checking the id from ida_alloc_min() which would\nnot release the earlier buffer allocation.\n\nMove the direct kfree() from the error checking of dma_alloc_attrs() to\nthe common fail path to ensure that allocations are released on all\nerror paths in this function.\n\nAddresses-Coverity: 1494120 (\"Resource leak\")","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00246,"percentile":0.16157,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/5cedfe8aaf1875a5305897107b7f298db4260019","tags":[]},{"url":"https://git.kernel.org/stable/c/55bccafc246b2e64763a155ec454470c07a54a6e","tags":[]},{"url":"https://git.kernel.org/stable/c/5f89d05ba93df9c2cdfe493843f93288e55e99eb","tags":[]},{"url":"https://git.kernel.org/stable/c/8403fdd775858a7bf04868d43daea0acbe49ddfc","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.23},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 745e6d8bbe6a6e2e40b1609cea114c129f17031a, < 5cedfe8aaf1875a5305897107b7f298db4260019",">= 40d87aafee29fb01ce1e1868502fb2059a6a7f34, < 55bccafc246b2e64763a155ec454470c07a54a6e",">= 40d87aafee29fb01ce1e1868502fb2059a6a7f34, < 5f89d05ba93df9c2cdfe493843f93288e55e99eb",">= 40d87aafee29fb01ce1e1868502fb2059a6a7f34, < 8403fdd775858a7bf04868d43daea0acbe49ddfc"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:50:14.184131Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34650","exploited":false,"provenance":"source"}}