{"id":"CVE-2022-49252","aliases":["CVE-2022-49252"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: codecs: rx-macro: se corrige el acceso a una matriz fuera de los límites para el tipo de enumeración. Acceder a enumeraciones usando números enteros daría como resultado un acceso a una matriz fuera de los límites en plataformas como aarch64, donde sizeof(long) es 8 en comparación con el tamaño de la enumeración, que es de 4 bytes.","source":"nvd"}],"published":"2025-02-26T01:56:08.663Z","modified":"2026-06-17T05:17:30.950Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"4f692926f562ff48abfcca6b16f36ff8d57473b6","fixed":"eb15c6ea692fd88d70698d874d9a0d667fb4cde9","status":"affected"},{"type":"git","introduced":"4f692926f562ff48abfcca6b16f36ff8d57473b6","fixed":"7e3629e256d1cabf801d00050550ade4d036cafe","status":"affected"},{"type":"git","introduced":"4f692926f562ff48abfcca6b16f36ff8d57473b6","fixed":"aed43e92e4b9187029903880d5db608f7fa1c53c","status":"affected"},{"type":"git","introduced":"4f692926f562ff48abfcca6b16f36ff8d57473b6","fixed":"bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.33","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.19","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.2","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12","fixed":"5.15.33"},{"status":"affected","introduced":"5.16","fixed":"5.16.19"},{"status":"affected","introduced":"5.17","fixed":"5.17.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/eb15c6ea692fd88d70698d874d9a0d667fb4cde9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e3629e256d1cabf801d00050550ade4d036cafe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aed43e92e4b9187029903880d5db608f7fa1c53c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49252","url":"https://www.cve.org/CVERecord?id=CVE-2022-49252","licence":"CVE Terms of Use","modified":"2026-05-11T18:56:06.845Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49252","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49252","licence":"Public domain","modified":"2026-06-17T05:17:30.950Z"}],"updatedAt":"2026-11-25T22:58:20.327Z","epss":{"score":0.00268,"percentile":0.20212,"date":"2026-12-01T12:00:22.000Z"}}