{"id":"CVE-2022-49251","summary":"ASoC: codecs: va-macro: fix accessing array out of bounds for enum type","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: va-macro: 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.","modified":"2026-04-02T08:27:26.018302Z","published":"2025-02-26T01:56:08.180Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49251.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ea5eff7c6063a8f124188424f8e4c6727f35051"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a799972a283ab4ec031041304d7e2d34e1a16eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/966408e37d84b762d11978b7bfb03fff0c6222ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49251.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49251"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f"},{"fixed":"966408e37d84b762d11978b7bfb03fff0c6222ad"},{"fixed":"4a799972a283ab4ec031041304d7e2d34e1a16eb"},{"fixed":"c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f"},{"fixed":"0ea5eff7c6063a8f124188424f8e4c6727f35051"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49251.json"}}],"schema_version":"1.7.5"}