{"schema_version":"1.9.0","id":"CVE-2022-49249","published":"2025-02-26T01:56:07.215Z","modified":"2026-08-12T03:51:26.471668393Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"summary":"ASoC: codecs: wc938x: fix accessing array out of bounds for enum type","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e8ba1e05bdc016700c85fad559a812c2e795442f"},{"fixed":"adafea71b49ec4dbc44e0b84ec6eb602004a7a08"},{"fixed":"f03c0c94186d5876857132d97e28f20cdc100bdc"},{"fixed":"d09aee1b1da196be11ed86dd4897f228f2487613"},{"fixed":"cc587b7c8fbbe128f6bd0dad025a0caea5e6d164"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49249.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"5.15.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"5.17.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49249.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/adafea71b49ec4dbc44e0b84ec6eb602004a7a08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49249.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49249"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49249.json"}}