CVE-2021-47655

MediumCVSS 5.5/10Last modified Jun 17, 2026

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")

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 745e6d8bbe6a6e2e40b1609cea114c129f17031a, < 5cedfe8aaf1875a5305897107b7f298db4260019; >= 40d87aafee29fb01ce1e1868502fb2059a6a7f34, < 55bccafc246b2e64763a155ec454470c07a54a6e; >= 40d87aafee29fb01ce1e1868502fb2059a6a7f34, < 5f89d05ba93df9c2cdfe493843f93288e55e99eb; >= 40d87aafee29fb01ce1e1868502fb2059a6a7f34, < 8403fdd775858a7bf04868d43daea0acbe49ddfc
LinuxLinux5.16

References

Timeline

Published
Feb 26, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-476567.8In the Linux kernel, the following vulnerability has been resolved: jffs2: fix use-after-free in jffs2_clear_xattr_subsystem When we mountCVE-2021-476575.5In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()CVE-2021-476585.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix a potential gpu_metrics_table memory leak Memory is alCVE-2021-476595.5In the Linux kernel, the following vulnerability has been resolved: drm/plane: Move range check for format_count earlier While the check fCVE-2021-476605.5In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replaCVE-2021-476627.5Due to missing authorization an unauthenticated remote attacker can cause a DoS attack by connecting via HTTPS and triggering the shutdown bCVE-2021-476638.1Due to improper JSON Web Tokens implementation an unauthenticated remote attacker can guess a valid session ID and therefore impersonate a uCVE-2021-476645.3Due to improper authentication mechanism an unauthenticated remote attacker can enumerate valid usernames.CVE-2021-4766710.0An OS command injection vulnerability in lib/NSSDropoff.php in ZendTo 5.24-3 through 6.x before 6.10-7 allows unauthenticated remote attackeCVE-2021-476688.8In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_nCVE-2021-476697.8In the Linux kernel, the following vulnerability has been resolved: can: vxcan: vxcan_xmit: fix use after free bug After calling netif_rx_CVE-2021-476708.8In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rx
CVE-2021-47655: Medium severity, CVSS 5.5 | Vulnix