What’s Vulnerable › Vulnerabilities

CVE-2022-49249: ASoC: codecs: wc938x: fix accessing array out of bounds for enum type

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.33, 5.16.19, 5.17.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49249 or the next vulnerability affects your stack