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-1001567: ASoC: codecs: va-macro: fix accessing array out of bounds for enum type. Affects Kernel versions >= 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f, < 4a799972a283ab4ec031041304d7e2d34e1a16eb. 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

ASoC (Audio System on Chip) is a subsystem in the Linux kernel that provides audio support for various hardware platforms. It includes codecs, which are responsible for encoding and decoding audio signals. The va-macro codec is one such component. It allows enumeration of different audio types and performs operations based on the selected type. However, a vulnerability has been discovered in the va-macro codec that allows accessing an array out of bounds for enum types.

Vulnerability Detail

The vulnerability in the va-macro codec arises due to improper bounds checking when accessing an array for enum types. An attacker could exploit this flaw by providing a malicious input that exceeds the bounds of the array, leading to memory corruption or arbitrary code execution. The impact of this vulnerability depends on the specific use case and the attacker's capabilities. It is crucial to address this issue to prevent potential security breaches and ensure the integrity of audio processing in affected systems.

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 →

Conclusion

The va-macro codec in the ASoC subsystem of the Linux kernel is vulnerable to an array out of bounds access issue. This vulnerability could be exploited to achieve memory corruption or arbitrary code execution. It is crucial to update the Linux kernel to version v5.16.19 or later, which includes a fix for this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ASoC (Audio System on Chip) is a subsystem in the Linux kernel that provides audio support for various hardware platforms. It includes codecs responsible for encoding and decoding audio signals.

The va-macro codec is a component of ASoC that allows enumeration of different audio types and performs operations based on the selected type.

The impact of this vulnerability depends on the specific use case and the attacker's capabilities. It could lead to memory corruption or arbitrary code execution, potentially compromising the security and integrity of affected systems.

To fix this vulnerability, it is recommended to update the Linux kernel to version v5.16.19 or later, which includes a commit that addresses the issue. Users can obtain the updated kernel from the official Linux kernel repository.

For more details about this vulnerability, including the specific commits and affected versions, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001567.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