CVE-2022-49249

published 26 Feb 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel adafea71b49ec4dbc44e0b84ec6eb602004a7a08, Kernel cc587b7c8fbbe128f6bd0dad025a0caea5e6d164, Kernel d09aee1b1da196be11ed86dd4897f228f2487613 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.14, >=e8ba1e05bdc016700c85fad559a812c2e795442f <adafea71b49ec4dbc44e0b84ec6eb602004a7a08, >=e8ba1e05bdc016700c85fad559a812c2e795442f <cc587b7c8fbbe128f6bd0dad025a0caea5e6d164, >=e8ba1e05bdc016700c85fad559a812c2e795442f <d09aee1b1da196be11ed86dd4897f228f2487613, >=e8ba1e05bdc016700c85fad559a812c2e795442f <f03c0c94186d5876857132d97e28f20cdc100bdcadafea71b49ec4dbc44e0b84ec6eb602004a7a08, cc587b7c8fbbe128f6bd0dad025a0caea5e6d164, d09aee1b1da196be11ed86dd4897f228f2487613, f03c0c94186d5876857132d97e28f20cdc100bdc

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49249 severity on Zeptric[![CVE-2022-49249](https://zeptric.io/badge/cve/CVE-2022-49249.svg)](https://zeptric.io/cve/CVE-2022-49249)