{"id":"CVE-2022-49251","aliases":["CVE-2022-49251"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: codecs: va-macro: fix accessing array out of bounds for enum type","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: codecs: va-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.180Z","modified":"2026-06-17T05:17:30.840Z","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":"908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f","fixed":"966408e37d84b762d11978b7bfb03fff0c6222ad","status":"affected"},{"type":"git","introduced":"908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f","fixed":"4a799972a283ab4ec031041304d7e2d34e1a16eb","status":"affected"},{"type":"git","introduced":"908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f","fixed":"c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f","status":"affected"},{"type":"git","introduced":"908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f","fixed":"0ea5eff7c6063a8f124188424f8e4c6727f35051","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","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.11","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/966408e37d84b762d11978b7bfb03fff0c6222ad","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a799972a283ab4ec031041304d7e2d34e1a16eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ea5eff7c6063a8f124188424f8e4c6727f35051","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49251","url":"https://www.cve.org/CVERecord?id=CVE-2022-49251","licence":"CVE Terms of Use","modified":"2026-05-11T18:56:05.729Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49251","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49251","licence":"Public domain","modified":"2026-06-17T05:17:30.840Z"}],"updatedAt":"2026-11-25T22:58:20.326Z","epss":{"score":0.00268,"percentile":0.20213,"date":"2026-12-01T12:00:22.000Z"}}