7.1high
ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: va-macro: fix accessing array out of bounds for enum type Accessing enums using integer would result in array out of bounds access on platforms like aarch64 where sizeof(long) is 8 compared to enum size which is 4 bytes.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f before 966408e37d84b762d11978b7bfb03fff0c6222ad, from 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f before 4a799972a283ab4ec031041304d7e2d34e1a16eb, from 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f before c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f, from 908e6b1df26efc9d2df70c9a7bf4f5eae5c5702f before 0ea5eff7c6063a8f124188424f8e4c6727f35051, 5.11 Not affected: before 5.11, from 5.15.33 up to 5.15.*, from 5.16.19 up to 5.16.*, from 5.17.2 up to 5.17.*, from 5.18 up to * | CVE List |
| linux linux_kernel | from 5.11 before 5.15.33, from 5.16 before 5.16.19, from 5.17 before 5.17.2 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: va-macro: fix accessing array out of bounds for enum type Accessing enums using integer would result in array out of bounds access on platforms like aarch64 where sizeof(long) is 8 compared to enum size which is 4 bytes.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49251 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49251 changed 2026-06-17 | Public domain |