Vulnerability in 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-1000175: ASoC: max9759: fix underflow in speaker_gain_control_put(). Affects Kernel versions >= fa8d915172b8c10ec0734c4021e99e9705023b07, < 71e60c170105d153e34d01766c1e4db26a4b24cc. 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 ASoC (Audio System on Chip) framework in the Linux Kernel is responsible for managing audio devices and drivers. One of the components in this framework is the max9759 driver, which controls the speaker gain. The speaker gain control allows adjusting the volume of the audio output. However, a vulnerability has been discovered in the speaker_gain_control_put() function of the max9759 driver, which can lead to an underflow condition. This vulnerability can potentially be exploited by an attacker to manipulate the speaker gain and cause audio distortion or other unintended consequences.

Vulnerability Detail

The vulnerability in the max9759 driver arises from an underflow condition in the speaker_gain_control_put() function. When certain input values are provided, the function does not properly handle the calculation, leading to an underflow. This underflow can result in unexpected behavior, such as excessively low speaker gain or even negative gain values. An attacker could potentially exploit this vulnerability by providing specially crafted input to manipulate the speaker gain and cause audio distortion or other issues. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

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

As this vulnerability is fixed in the latest version of the Linux Kernel, applying the update is the recommended solution. However, if updating immediately is not feasible, a temporary workaround can be implemented by disabling or limiting access to the affected audio device. This can be achieved by modifying the system configuration or using access control mechanisms to restrict access to the max9759 driver.

Conclusion

In conclusion, a vulnerability has been identified in the ASoC max9759 driver, which can lead to an underflow condition in the speaker_gain_control_put() function. This vulnerability can potentially be exploited to manipulate the speaker gain and cause audio distortion or other unintended consequences. It is recommended to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ASoC stands for Audio System on Chip, which is a framework in the Linux Kernel for managing audio devices and drivers.

The max9759 driver is a component of the ASoC framework that controls the speaker gain, allowing adjustment of the audio output volume.

An underflow condition occurs when a calculation or operation results in a value smaller than the minimum representable value. In the context of this vulnerability, it means that the speaker gain calculation in the max9759 driver can produce excessively low or negative gain values.

The potential consequences of this vulnerability include audio distortion, unexpected volume levels, or other unintended behavior in the audio output. However, the actual impact and attack plausibility have not been proven.

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

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