Vulnerability in dmaengine: mediatek package

Kernel Updated 02 Oct 2025

Summary

08/07/2021
N/A
No i
Unrated
Not published

GSD-2021-1001132: dmaengine: mediatek: free the proper desc in desc_free handler. Affects Kernel versions < c11dd2d04e827709211067043ff20dda5c6c28ee. 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 dmaengine: mediatek package is a component of the Linux Kernel that provides support for MediaTek DMA controllers. These controllers are responsible for managing data transfers between different devices in a system. The package is widely used in various devices that incorporate MediaTek SoCs. However, a vulnerability has been discovered in the package that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in the dmaengine: mediatek package involves improper handling of descriptors in the desc_free handler. Due to this flaw, the package may fail to properly free the correct descriptor, leading to potential memory leaks or use-after-free vulnerabilities. An attacker who can trigger this vulnerability may be able to execute arbitrary code or cause a denial-of-service condition on the affected system. It is important to note that the impact and attack feasibility of this vulnerability have not been proven yet.

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

Currently, there is no known workaround for this vulnerability. It is advised to apply the recommended fix by updating the Linux Kernel.

Conclusion

The vulnerability in the dmaengine: mediatek package can be mitigated by updating the Linux Kernel to version v5.12.14 or later. This will ensure that the proper descriptor is freed in the desc_free handler, reducing the risk of memory leaks and use-after-free vulnerabilities. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The dmaengine: mediatek package is a component of the Linux Kernel that provides support for MediaTek DMA controllers, which manage data transfers between devices in a system.

The impact of this vulnerability could include potential memory leaks, use-after-free vulnerabilities, arbitrary code execution, or denial-of-service conditions.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.14 or later, which includes the necessary fix.

Currently, there is no known workaround for this vulnerability. Updating the Linux Kernel is the recommended solution.

For more details about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.

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