ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ASoC va-macro codec can access an array out of bounds when an enum is accessed as an integer on platforms such as aarch64, where a long is 8 bytes and an enum is 4 bytes. The input does not specify how an attacker could trigger this issue or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel, particularly on aarch64 platforms, should check their installations; affected versions were not provided.