CVE-2022-49252: ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type

Published Feb 26, 2025
·
Updated

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

4 affected components
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.33
Linux Linux kernel>=5.16<5.16.19
Linux Linux kernel>=5.17<5.17.2

Event History

Feb 26, 2025
CVE Published
via MITRE·01:56 AM
Data Sourced
via MITRE·01:56 AM
Description
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203