{"id":"CVE-2022-49252","published":"2025-02-26T01:56:08Z","modified":"2026-05-11T18:56:06Z","title":"ASoC: codecs: rx-macro: 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: 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00268,"percentile":0.18748,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/eb15c6ea692fd88d70698d874d9a0d667fb4cde9","tags":[]},{"url":"https://git.kernel.org/stable/c/7e3629e256d1cabf801d00050550ade4d036cafe","tags":[]},{"url":"https://git.kernel.org/stable/c/aed43e92e4b9187029903880d5db608f7fa1c53c","tags":[]},{"url":"https://git.kernel.org/stable/c/bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5","tags":[]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":3.75}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4f692926f562ff48abfcca6b16f36ff8d57473b6, < eb15c6ea692fd88d70698d874d9a0d667fb4cde9",">= 4f692926f562ff48abfcca6b16f36ff8d57473b6, < 7e3629e256d1cabf801d00050550ade4d036cafe",">= 4f692926f562ff48abfcca6b16f36ff8d57473b6, < aed43e92e4b9187029903880d5db608f7fa1c53c",">= 4f692926f562ff48abfcca6b16f36ff8d57473b6, < bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"euvd":{"id":"EUVD-2022-54974","exploited":false,"provenance":"source"}}