CVE-2022-49249

ASoC: codecs: wc938x: fix accessing array out of bounds for enum type

published February 26, 2025

CVSS
—
EPSS
0%
Percentile
18.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00275 · 18.9th percentile
Published
2025-02-26T01:56Z
EPSS history
Timeline
  • 26 FEB 01:56Z
    ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    cvelistv5