ASoC: max9759: fix underflow in speaker_gain_control_put()

Kernel Updated 02 Oct 2025

Summary

18/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000141: ASoC: max9759: fix underflow in speaker_gain_control_put(). Affects Kernel versions >= fa8d915172b8c10ec0734c4021e99e9705023b07, < a0f49d12547d45ea8b0f356a96632dd503941c1e. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ASoC (Audio System on Chip) framework in the Linux Kernel is responsible for managing audio functionality on embedded systems. The max9759 driver is a part of ASoC and provides support for the MAX9759 audio amplifier. The driver allows control over various audio parameters, including speaker gain. However, a vulnerability has been discovered in the speaker_gain_control_put() function of the max9759 driver, which can lead to an underflow condition.

Vulnerability Detail

The vulnerability in the speaker_gain_control_put() function of the max9759 driver can result in an underflow, potentially leading to unexpected behavior or system crashes. An attacker may be able to exploit this vulnerability to gain elevated privileges or disrupt the audio functionality of the system. The vulnerability was introduced in Linux Kernel version v4.17 and has been fixed in version v4.19.228 by commit a0f49d12547d45ea8b0f356a96632dd503941c1e.

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

If updating the Linux Kernel is not immediately feasible, a temporary workaround can be implemented by disabling the affected driver module. This can be done by blacklisting the 'max9759' module in the system's module configuration file. To do this, add the following line to the file '/etc/modprobe.d/blacklist.conf':

blacklist max9759

Save the file and reboot the system for the changes to take effect.

Conclusion

In conclusion, the ASoC max9759 driver in the Linux Kernel is vulnerable to an underflow condition in the speaker_gain_control_put() function. This vulnerability can potentially be exploited to gain elevated privileges or disrupt audio functionality. It is recommended to update the Linux Kernel to version v4.19.228 or later to fix this vulnerability. If immediate update is not possible, a temporary workaround can be implemented by blacklisting the 'max9759' module. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ASoC stands for Audio System on Chip. It is a framework in the Linux Kernel that manages audio functionality on embedded systems.

The max9759 driver is a part of ASoC and provides support for the MAX9759 audio amplifier. It allows control over various audio parameters, including speaker gain.

An underflow condition occurs when a value becomes smaller than the minimum representable value for its data type. In the context of this vulnerability, an underflow in the speaker_gain_control_put() function can lead to unexpected behavior or system crashes.

An attacker may be able to exploit this vulnerability to gain elevated privileges or disrupt the audio functionality of the system. However, the exact attack vectors and impact may vary depending on the specific system configuration.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

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