ASoC: SDCA: bug fix while parsing mipi-sdca-control-cn-list
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: SDCA: bug fix while parsing mipi-sdca-control-cn-list
"struct sdca_control" declares "values" field as integer array. But the memory allocated to it is of char array. This causes crash for sdca_parse_function API. This patch addresses the issue by allocating correct data size.
From the CVE record · Linux
The Linux kernel allocates too little memory for an integer array while parsing an SDCA control list, causing the sdca_parse_function API to crash. The input does not specify how an attacker could trigger the crash or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with ASoC SDCA support should check their deployments; affected versions are not specified.