ASoC: codecs: rx-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: rx-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 rx-macro codec can access an array out of bounds when an enum is accessed as an integer on platforms such as aarch64, where long and enum sizes differ. The input does not establish what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running the Linux kernel with the ASoC rx-macro codec should check their systems; affected versions are not specified.