CVE-2022-49251

ASoC: codecs: va-macro: fix accessing array out of bounds for enum type

HIGH
7.1
CVSS Score
Published: February 26, 2025 at 01:56 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%

Description

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 platforms like aarch64 where sizeof(long) is 8 compared to enum size which is 4 bytes.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.335.11 ≤ v < 5.16.195.11 ≤ v < 5.17.25.11 ≤ v < 5.185.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.11908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f
Vendor states this is fixed in 0ea5eff7c6063a8f124188424f8e4c6727f35051 (fixed)
Vendor states this is fixed in 4a799972a283ab4ec031041304d7e2d34e1a16eb (fixed)
Vendor states this is fixed in 966408e37d84b762d11978b7bfb03fff0c6222ad (fixed)
Vendor states this is fixed in c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f (fixed)
Vendor states this is fixed in 5.11 (unaffected)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ea5eff7c6063a8f124188424f8e4c6727f35051
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a799972a283ab4ec031041304d7e2d34e1a16eb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/966408e37d84b762d11978b7bfb03fff0c6222ad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card