{"id":"CVE-2022-49252","summary":"ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: rx-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:25.864065Z","published":"2025-02-26T01:56:08.663Z","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-49252.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7e3629e256d1cabf801d00050550ade4d036cafe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aed43e92e4b9187029903880d5db608f7fa1c53c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb15c6ea692fd88d70698d874d9a0d667fb4cde9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49252.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49252"},{"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":"4f692926f562ff48abfcca6b16f36ff8d57473b6"},{"fixed":"eb15c6ea692fd88d70698d874d9a0d667fb4cde9"},{"fixed":"7e3629e256d1cabf801d00050550ade4d036cafe"},{"fixed":"aed43e92e4b9187029903880d5db608f7fa1c53c"},{"fixed":"bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49252.json"}}],"schema_version":"1.7.5"}