Vulnerability in ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
Summary
GSD-2022-1003796: ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe. Affects Kernel versions >= 08641c7c74dddfcd726512edfaa3b4cbe42e523e, < 18b907ff0ae4bf20120aae1538f7156b9d08e3a7. 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 ASoC (Audio System on Chip) framework in the Linux Kernel provides support for audio devices on various embedded systems. One of the components in ASoC is the mxs-saif driver, which is responsible for handling the SAIF (Serial Audio Interface) on MXS (i.MX23/i.MX28) platforms. The mxs-saif driver allows audio data to be transmitted and received through the SAIF interface. However, a vulnerability has been discovered in the mxs-saif driver that can lead to a refcount leak in the mxs_saif_probe function.
Vulnerability Detail
The vulnerability in the mxs-saif driver occurs due to a refcount leak in the mxs_saif_probe function. When the mxs_saif_probe function is called, it increments the refcount of the SAIF device. However, if an error occurs during the probe process, the refcount is not properly decremented, leading to a refcount leak. This refcount leak can result in incorrect memory management and potential resource exhaustion. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges.
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
There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the latest version as soon as possible.
Conclusion
The mxs-saif driver in the ASoC framework of the Linux Kernel is vulnerable to a refcount leak in the mxs_saif_probe function. This vulnerability can have serious consequences, including denial-of-service and potential arbitrary code execution. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC (Audio System on Chip) is a framework in the Linux Kernel that provides support for audio devices on embedded systems.
mxs-saif is a driver in the ASoC framework that handles the SAIF (Serial Audio Interface) on MXS (i.MX23/i.MX28) platforms.
This vulnerability can lead to a refcount leak in the mxs-saif driver, potentially causing a denial-of-service condition or arbitrary code execution.
To fix this vulnerability, update the Linux Kernel to version v5.4.198 or later.
There is no known workaround for this vulnerability. It is recommended to update the Linux Kernel to the latest version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.