Fix resource leaks in the error path of 'venus_probe()' in Kernel

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000272: media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'. Affects Kernel versions >= 32f0a6ddc8c98a1aade2bf3d07c79d5d2c6ceb9a, < 711acdf0228dc71601247f28b56f13e850e395c8. No fix is published. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides core functionalities and services to other software components. The 'venus_probe()' function is part of the media subsystem in the Kernel, specifically in the venus core module. This function is responsible for probing and initializing the venus hardware. However, there are resource leaks present in the error path of this function, which can lead to memory leaks and potential system instability.

Vulnerability Detail

The vulnerability arises from the resource leaks in the error path of the 'venus_probe()' function. When an error occurs during the probing and initialization of the venus hardware, certain resources are not properly released, resulting in memory leaks. An attacker could potentially exploit these memory leaks to exhaust system resources, leading to a denial-of-service condition or other forms of system instability. The vulnerability was introduced in version v5.5 of the Linux Kernel and has been fixed in version v5.12.4.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is recommended to update to the fixed version to ensure the security and stability of the system.

Conclusion

In conclusion, the 'venus_probe()' function in the Kernel's media subsystem had resource leaks in its error path, leading to memory leaks and potential system instability. This vulnerability has been fixed in version v5.12.4 of the Linux Kernel. To ensure the security and stability of your system, it is recommended to update to the fixed version. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory leaks and potential system instability. An attacker could potentially exploit these memory leaks to exhaust system resources, resulting in a denial-of-service condition or other forms of system disruption.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to promptly update to the fixed version of the Linux Kernel to mitigate any potential risks.

This vulnerability does not have a direct remote exploitation vector. However, if an attacker gains access to the system, they could potentially exploit the memory leaks caused by this vulnerability to disrupt the system's stability.

For more detailed information about this vulnerability, including technical details and the specific code changes made to fix it, you can refer to the vulnerability report at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000272.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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