ASoC Codecs rx-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-1001880: ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type. Affects Kernel versions >= 4f692926f562ff48abfcca6b16f36ff8d57473b6, < eb15c6ea692fd88d70698d874d9a0d667fb4cde9. 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. The rx-macro codec is one such component that handles audio playback. It includes an array that stores enumerated values for different audio types. This vulnerability affects versions of the Linux Kernel starting from v5.12 and was fixed in v5.15.33. The vulnerability allows an attacker to access the array out of bounds, potentially leading to memory corruption or other security issues.

Vulnerability Detail

The vulnerability arises from accessing the array out of bounds for an enum type in the rx-macro codec of the ASoC framework. By providing malicious input or triggering specific conditions, an attacker can exploit this vulnerability to access memory locations beyond the bounds of the array. This can result in memory corruption, crashes, or even arbitrary code execution. The impact and attack plausibility 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

There is no specific workaround mentioned for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

Conclusion

The ASoC Codecs rx-macro vulnerability in the Linux Kernel can be mitigated by updating to version v5.15.33 or later. This vulnerability allows an attacker to access the array out of bounds, potentially leading to memory corruption or other security issues. It is crucial to keep the Linux Kernel up to date to ensure the security of the system. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ASoC (Audio System on Chip) is a framework in the Linux Kernel that provides support for audio drivers and codecs. It enables audio playback and recording functionality on embedded systems.

The rx-macro codec is a component of the ASoC framework that handles audio playback. It includes an array that stores enumerated values for different audio types.

The vulnerability allows an attacker to access the array out of bounds, potentially leading to memory corruption or other security issues. The actual impact and attack plausibility have not yet been proven.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. This fix is available in the Linux Kernel repository.

There is no specific workaround mentioned for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

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