Vulnerability in dmaengine: mediatek package
Summary
GSD-2021-1001132: dmaengine: mediatek: free the proper desc in desc_free handler. Affects Kernel versions < c11dd2d04e827709211067043ff20dda5c6c28ee. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.