CVE-2022-49252: ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49252?
CVE-2022-49252 is classified as a moderate severity vulnerability due to potential array out of bounds access.
How does CVE-2022-49252 affect the Linux kernel?
CVE-2022-49252 affects the Linux kernel by allowing access to enum types that can potentially result in array out of bounds errors.
Which versions of the Linux kernel are affected by CVE-2022-49252?
CVE-2022-49252 affects Linux kernel versions between 5.12 and 5.15.33, as well as 5.16.0 to 5.16.19 and 5.17.0 to 5.17.2.
How do I fix CVE-2022-49252?
To fix CVE-2022-49252, update your Linux kernel to a version that is not affected, such as those beyond 5.17.2.
What could be the consequences of not addressing CVE-2022-49252?
Not addressing CVE-2022-49252 could lead to application crashes or unintended behavior due to accessing invalid memory locations.