{"id":"CVE-2022-49249","aliases":["CVE-2022-49249"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: codecs: wc938x: fix accessing array out of bounds for enum type","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: wc938x: 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.\n\nFix this by using enumerated items instead of integers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: wc938x: 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.\n\nFix this by using enumerated items instead of integers.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: codecs: wc938x: se corrige el acceso a una matriz fuera de los límites para el tipo de enumeración. El acceso a enumeraciones mediante 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. Corrija esto utilizando elementos enumerados en lugar de números enteros.","source":"nvd"}],"published":"2025-02-26T01:56:07.215Z","modified":"2026-06-17T05:17:30.607Z","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":"e8ba1e05bdc016700c85fad559a812c2e795442f","fixed":"adafea71b49ec4dbc44e0b84ec6eb602004a7a08","status":"affected"},{"type":"git","introduced":"e8ba1e05bdc016700c85fad559a812c2e795442f","fixed":"f03c0c94186d5876857132d97e28f20cdc100bdc","status":"affected"},{"type":"git","introduced":"e8ba1e05bdc016700c85fad559a812c2e795442f","fixed":"d09aee1b1da196be11ed86dd4897f228f2487613","status":"affected"},{"type":"git","introduced":"e8ba1e05bdc016700c85fad559a812c2e795442f","fixed":"cc587b7c8fbbe128f6bd0dad025a0caea5e6d164","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","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.14","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/adafea71b49ec4dbc44e0b84ec6eb602004a7a08","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f03c0c94186d5876857132d97e28f20cdc100bdc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d09aee1b1da196be11ed86dd4897f228f2487613","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc587b7c8fbbe128f6bd0dad025a0caea5e6d164","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49249","url":"https://www.cve.org/CVERecord?id=CVE-2022-49249","licence":"CVE Terms of Use","modified":"2026-05-11T18:56:02.678Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49249","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49249","licence":"Public domain","modified":"2026-06-17T05:17:30.607Z"}],"updatedAt":"2026-11-25T22:58:20.325Z","epss":{"score":0.00275,"percentile":0.21315,"date":"2026-12-02T12:00:21.000Z"}}