Memory Leak Vulnerability in Linux Kernel - CVE-2021-47655

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Medium
5.5

CVE-2021-47655: 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 check... Affects linux versions < 5.17.3-1. Fixed in 5.17.3-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system, including process management, memory management, and device control. The kernel is highly modular, allowing for various functionalities to be added or removed as needed. However, like any complex software, it is susceptible to vulnerabilities that can affect system stability and security.

Vulnerability Detail

CVE-2021-47655 is a vulnerability in the Linux kernel's media subsystem, specifically within the Venus video decoder. The issue arises from the venus_helper_alloc_dpb_bufs() function, which can lead to a memory leak if an error occurs during buffer allocation. If the function encounters an error after allocating memory but before it can free that memory, it results in a resource leak. This vulnerability could potentially lead to increased memory usage and system instability, as the leaked memory is not reclaimed, ultimately affecting performance and reliability.

How To Fix

Minimum fixed version

5.17.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2021-47655 is a significant vulnerability in the Linux kernel that can lead to memory leaks, affecting system performance and stability. It is essential to update to the latest patched version to mitigate this risk. Regular monitoring and prompt updates are vital for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47655 is a vulnerability in the Linux kernel that can lead to a memory leak in the Venus video decoder.

This vulnerability can lead to increased memory usage and potential system instability due to unreleased memory allocations.

If you are using a version of the Linux kernel prior to 5.17.3-1, your system may be vulnerable to this issue.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any installation.

While there are no specific workarounds, it is crucial to monitor your system for unusual behavior and plan to apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.17.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback