ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback
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 |
|
|
6.12.536.17.36.18In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback
In create_sdw_dailink() check that sof_end->codec_info->add_sidecar is not NULL before calling it.
The original code assumed that if include_sidecar is true, the codec on that link has an add_sidecar callback. But there could be other codecs on the same link that do not have an add_sidecar callback.
From the CVE record · Linux
The Linux kernel's sof_sdw code could call a NULL add_sidecar callback when a link includes a sidecar but a codec on that link lacks the callback. This could cause a jump to NULL; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the ASoC Intel sof_sdw code should check their installations; affected versions are not specified.