Vulnerability in Kernel: ASoC ops: Shift tested values in snd_soc_put_volsw() by +min

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000712: ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min. Affects Kernel versions >= bb72d2dda85564c66d909108ea6903937a41679d, < 70712d5afbbea898d5f51fa02e315fe0a4835043. 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 Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It is responsible for managing system resources, including memory, processes, and device drivers. The Advanced SoC (ASoC) subsystem within the Kernel is specifically designed for audio-related operations, providing support for various audio codecs and digital signal processors.

One of the functions in the ASoC subsystem, snd_soc_put_volsw(), is responsible for handling volume switch controls. This function allows users to adjust the volume levels of audio devices. However, a vulnerability has been identified in this function that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in snd_soc_put_volsw() arises from a flaw in the way tested values are shifted by +min. This flaw could be exploited by an attacker to manipulate volume switch controls and potentially gain unauthorized access or perform other malicious actions. The impact and attack plausibility of this vulnerability have not yet been proven.

This vulnerability was introduced in Linux Kernel version v5.16.8 by commit bb72d2dda85564c66d909108ea6903937a41679d and has been fixed in version v5.16.13 by commit 70712d5afbbea898d5f51fa02e315fe0a4835043.

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 a temporary workaround, users can disable the affected functionality by modifying the relevant configuration files. However, this may result in the loss of certain audio-related features. To disable the functionality, follow these steps:

  1. Open the configuration file for the ASoC subsystem, typically located at /path/to/kernel/source/sound/soc/soc-core.c.
  2. Locate the function snd_soc_put_volsw() within the file.
  3. Comment out or remove the lines of code responsible for the vulnerable operation.
  4. Save the file and recompile the Kernel.
  5. Reinstall the modified Kernel on the affected system.

Conclusion

In conclusion, a vulnerability has been identified in the Kernel's ASoC subsystem that could allow attackers to manipulate volume switch controls and potentially gain unauthorized access or perform malicious actions. It is crucial to update the Linux Kernel to version v5.16.13 or later to mitigate this vulnerability. Additionally, users can apply the temporary workaround mentioned in this report until the update is implemented. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven, but it could potentially allow an attacker to manipulate volume switch controls and gain unauthorized access or perform other malicious actions.

You can use the Vulert Playground at Vulert 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 exploit for this vulnerability. However, it is important to apply the recommended fixes and stay updated with the latest security patches to mitigate any potential risks.

The exact attack vector and remote exploitability of this vulnerability have not yet been determined. However, it is always advisable to apply security updates promptly to minimize the risk of remote exploitation.

The recommended solution is to update the Linux Kernel to the latest version. However, if updating is not feasible in your environment, you can consider implementing additional security measures, such as network segmentation and access controls, to mitigate the potential risks associated with this vulnerability.

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