CVE-2022-49249

ASoC: codecs: wc938x: 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: wc938x: 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. Fix this by using enumerated items instead of integers.

Affected

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

5.14 ≤ v < 5.15.335.14 ≤ v < 5.16.195.14 ≤ v < 5.17.25.14 ≤ v < 5.185.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.14e8ba1e05bdc016700c85fad559a812c2e795442f
Vendor states this is fixed in adafea71b49ec4dbc44e0b84ec6eb602004a7a08 (fixed)
Vendor states this is fixed in cc587b7c8fbbe128f6bd0dad025a0caea5e6d164 (fixed)
Vendor states this is fixed in d09aee1b1da196be11ed86dd4897f228f2487613 (fixed)
Vendor states this is fixed in f03c0c94186d5876857132d97e28f20cdc100bdc (fixed)
Vendor states this is fixed in 5.14 (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/adafea71b49ec4dbc44e0b84ec6eb602004a7a08
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdc

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