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-1000215: ASoC: ops: Reject out of bounds values in snd_soc_put_volsw(). Affects Kernel versions < a9394f21fba027147bf275b083c77955864c366a. 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 critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It acts as a bridge between the hardware and software layers, facilitating communication and resource management. The ASoC (Audio System on Chip) subsystem within the Kernel is responsible for handling audio-related operations and configurations. One of the functions in this subsystem, snd_soc_put_volsw(), is used to set volume levels for audio devices. However, a vulnerability has been discovered in this function that allows out-of-bounds values to be accepted, potentially leading to memory corruption or other security issues.

Vulnerability Detail

The vulnerability in snd_soc_put_volsw() arises from a lack of proper bounds checking on the input values. When setting volume levels, the function does not adequately validate the provided values, allowing values outside the expected range to be accepted. This can result in various security implications, such as buffer overflows, memory corruption, or privilege escalation. An attacker could potentially exploit this vulnerability to execute arbitrary code, gain elevated privileges, or disrupt the normal operation of the system. It is important to note that the impact and attack feasibility of this vulnerability have not been proven yet.

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 restricting access to the affected audio functionality. This can be achieved by modifying the system configuration or using access control mechanisms to limit the usage of audio-related features. It is important to note that workarounds may have limitations and should be considered temporary measures until the Kernel update can be applied.

Conclusion

In conclusion, the ASoC vulnerability in snd_soc_put_volsw() exposes the Linux Kernel to potential security risks due to the acceptance of out-of-bounds values. It is crucial to update the Kernel to the recommended version or apply the provided workaround to mitigate the vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices.

ASoC (Audio System on Chip) is a subsystem within the Linux Kernel that handles audio-related operations and configurations.

snd_soc_put_volsw() is a function in the ASoC subsystem that is used to set volume levels for audio devices.

This vulnerability can lead to memory corruption, buffer overflows, privilege escalation, or the execution of arbitrary code.

To fix this vulnerability, update the Linux Kernel to version v5.10.99 or later, which includes the necessary fix for snd_soc_put_volsw().

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