{"id":"CVE-2022-49249","published":"2025-02-26T01:56:07Z","modified":"2026-05-11T18:56:02Z","title":"ASoC: codecs: wc938x: fix accessing array out of bounds for enum type","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: wc938x: fix accessing array out of bounds for enum type\n\nAccessing enums using integer would result in array out of bounds access\non platforms like aarch64 where sizeof(long) is 8 compared to enum size\nwhich is 4 bytes.\n\nFix this by using enumerated items instead of integers.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00275,"percentile":0.1974,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/adafea71b49ec4dbc44e0b84ec6eb602004a7a08","tags":[]},{"url":"https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdc","tags":[]},{"url":"https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613","tags":[]},{"url":"https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164","tags":[]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":3.95}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e8ba1e05bdc016700c85fad559a812c2e795442f, < adafea71b49ec4dbc44e0b84ec6eb602004a7a08",">= e8ba1e05bdc016700c85fad559a812c2e795442f, < f03c0c94186d5876857132d97e28f20cdc100bdc",">= e8ba1e05bdc016700c85fad559a812c2e795442f, < d09aee1b1da196be11ed86dd4897f228f2487613",">= e8ba1e05bdc016700c85fad559a812c2e795442f, < cc587b7c8fbbe128f6bd0dad025a0caea5e6d164"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"euvd":{"id":"EUVD-2022-54977","exploited":false,"provenance":"source"}}