ASoC: ops: Reject out of bounds values in snd_soc_put_volsw() - Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000088: ASoC: ops: Reject out of bounds values in snd_soc_put_volsw(). Affects Kernel versions < 40f598698129b5ceaf31012f9501b775c7b6e57d. 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 Kernel is a fundamental component of the Linux operating system, responsible for managing the system's resources and providing an interface between hardware and software. It includes various subsystems, such as ASoC (Audio System on Chip), which handles audio functionalities on embedded systems. ASoC provides an API for audio drivers to interact with the hardware. One of the functions in ASoC, snd_soc_put_volsw(), is responsible for setting the volume switch values. However, this function is vulnerable to accepting out-of-bounds values, which can lead to potential security issues.

Vulnerability Detail

The vulnerability in snd_soc_put_volsw() allows an attacker to provide out-of-bounds values, which can result in unexpected behavior or memory corruption. This can potentially be exploited to execute arbitrary code or cause a denial-of-service condition. The vulnerability was discovered in the Linux Kernel and has been assigned the ID GSD-2022-1000088. It has been fixed in Linux Kernel version v4.9.300 by commit 40f598698129b5ceaf31012f9501b775c7b6e57d.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.300 or later. This can be done by pulling the latest changes from the official Linux Kernel repository and rebuilding the Kernel. Alternatively, users can wait for their Linux distribution to release an updated package containing the fix.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that their systems are updated with the latest security patches and following best practices for system security.

Conclusion

The vulnerability in snd_soc_put_volsw() in the Kernel can lead to potential security risks, including arbitrary code execution or denial-of-service. It is crucial to update the Linux Kernel to version v4.9.300 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition on systems running the affected version of the Linux Kernel.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the necessary security updates to mitigate the risk.

Yes, this vulnerability can be exploited remotely if the affected system is exposed to the internet and the necessary conditions are met.

To exploit this vulnerability, an attacker would need to have the ability to send specially crafted requests to the affected system.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.300 or later. This can be done by pulling the latest changes from the official Linux Kernel repository and rebuilding the Kernel. Alternatively, users can wait for their Linux distribution to release an updated package containing the fix.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.