VYPR
Unrated severityNVD Advisory· Published Feb 26, 2025· Updated May 4, 2025

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

CVE-2022-49249

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

86

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.