Vulnerability in ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

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 ↓

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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

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