ASoC Codecs va-macro: Array Out of Bounds Access Vulnerability

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001878: ASoC: codecs: va-macro: fix accessing array out of bounds for enum type. Affects Kernel versions >= 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f, < 966408e37d84b762d11978b7bfb03fff0c6222ad. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ASoC (Audio System on Chip) framework in the Linux Kernel provides support for audio drivers and codecs. Codecs are responsible for encoding and decoding audio data. One of the codecs, va-macro, is affected by an array out of bounds access vulnerability.

Vulnerability Detail

The vulnerability occurs when accessing an array out of bounds for an enum type in the va-macro codec. This can lead to memory corruption or crashes, potentially allowing an attacker to execute arbitrary code or cause a denial of service. The vulnerability was introduced in Linux Kernel version v5.11 and is fixed in version v5.15.33.

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

There is no known workaround for this vulnerability.

Conclusion

The ASoC va-macro codec in the Linux Kernel is affected by an array out of bounds access vulnerability. It is recommended to update the kernel to version v5.15.33 or later to fix the 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. It is a framework in the Linux Kernel that provides support for audio drivers and codecs.

va-macro is a codec in the ASoC framework responsible for encoding and decoding audio data.

An array out of bounds access vulnerability occurs when code tries to access an array element outside the bounds of the array. This can lead to memory corruption or crashes.

The vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service by exploiting the memory corruption or crashes.

You can use tools like Vulert (https://vulert.com) 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.

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