Memory Leak in dvb_media_device_free() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000172: media: dvbdev: Fix memory leak in dvb_media_device_free(). Affects Kernel versions >= 0230d60e4661d9ced6fb0b9a30f182ebdafbba7a, < 9185b3b1c143b8da409c19ac5a785aa18d67a81b. 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 critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functions and services to enable the proper functioning of the system. The dvbdev module within the Kernel is responsible for handling Digital Video Broadcasting (DVB) devices. DVB devices are used for receiving and processing digital television signals. The dvb_media_device_free() function is used to release resources associated with DVB media devices. However, a memory leak vulnerability has been identified in this function, which can lead to the exhaustion of system memory over time.

Vulnerability Detail

The memory leak vulnerability in dvb_media_device_free() arises from a failure to properly deallocate memory resources when releasing DVB media devices. This can result in a gradual accumulation of unreleased memory, leading to memory exhaustion and potential system instability. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition by repeatedly creating and freeing DVB media devices, consuming excessive memory resources. The vulnerability was introduced in version v4.5 of the Linux Kernel and has been fixed in version v5.4.118 by commit 9185b3b1c143b8da409c19ac5a785aa18d67a81b.

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 strongly advised to update to the patched version to ensure the security and stability of the system.

Conclusion

The memory leak vulnerability in dvb_media_device_free() can pose a significant risk to the stability and performance of systems running affected versions of the Linux Kernel. It is crucial to update to the patched version (v5.4.118 or later) to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The memory leak vulnerability in dvb_media_device_free() can lead to memory exhaustion, potentially causing system instability and a denial-of-service (DoS) condition.

An attacker could exploit this vulnerability by repeatedly creating and freeing DVB media devices, consuming excessive memory resources and causing a DoS condition.

The vulnerability was introduced in version v4.5 of the Linux Kernel. Versions prior to v5.4.118 are affected.

Yes, the vulnerability has been fixed in version v5.4.118 of the Linux Kernel.

The updated Linux Kernel can be obtained from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.

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