CVE-2022-49249
kernel: ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · February 26, 2025
Updated · June 30, 2026
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.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified