Out of Bounds Access Vulnerability in Linux Kernel (CVE-2022-49251)

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Unrated
Not published

CVE-2022-49251: In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: va-macro: fix accessing array out of bounds for enum type Accessing enums using integer would result in array out of bounds access on plat... Affects linux versions < 5.17.3-1. Fixed in 5.17.3-1. 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's stability and security are critical for the overall system integrity. This vulnerability specifically affects the ASoC (ALSA System on Chip) codecs, which are responsible for audio processing in embedded systems. The vulnerability arises from improper handling of enum types, leading to potential security risks.

Vulnerability Detail

The vulnerability identified as CVE-2022-49251 is caused by accessing enums using integers, which can lead to an array out of bounds access. This issue is particularly problematic on platforms like aarch64, where the size of long integers is 8 bytes, while the size of the enum is only 4 bytes. If exploited, this vulnerability could allow an attacker to manipulate memory, potentially leading to system crashes or arbitrary code execution.

How To Fix

Minimum fixed version

5.17.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch by updating the package as mentioned above.

Conclusion

CVE-2022-49251 is a critical vulnerability in the Linux kernel that can lead to serious security issues if left unaddressed. Users are strongly advised to update their systems to the patched version to ensure protection against potential exploits. Regular monitoring and timely updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49251 is a vulnerability in the Linux kernel that allows for out of bounds access due to improper handling of enum types.

The vulnerability primarily affects Debian-based systems running the Linux kernel versions prior to 5.17.3-1.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Exploiting this vulnerability could lead to memory manipulation, system crashes, or even arbitrary code execution, posing significant security risks.

While there are no specific workarounds, it is crucial to monitor your systems and apply the patch as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.17.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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