CVE-2022-49252

ASoC: codecs: rx-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: rx-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.12 ≤ v < 5.15.335.12 ≤ v < 5.16.195.12 ≤ v < 5.17.25.12 ≤ v < 5.185.16 ≤ v < 5.16.195.17 ≤ v < 5.17.24f692926f562ff48abfcca6b16f36ff8d57473b65.12
Vendor states this is fixed in 7e3629e256d1cabf801d00050550ade4d036cafe (fixed)
Vendor states this is fixed in aed43e92e4b9187029903880d5db608f7fa1c53c (fixed)
Vendor states this is fixed in bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5 (fixed)
Vendor states this is fixed in eb15c6ea692fd88d70698d874d9a0d667fb4cde9 (fixed)
Vendor states this is fixed in 5.12 (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/7e3629e256d1cabf801d00050550ade4d036cafe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aed43e92e4b9187029903880d5db608f7fa1c53c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb15c6ea692fd88d70698d874d9a0d667fb4cde9

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