ASoC: SOF: Intel: hda: Fix NULL pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: Intel: hda: Fix NULL pointer dereference
If there's a mismatch between the DAI links in the machine driver and the topology, it is possible that the playback/capture widget is not set, especially in the case of loopback capture for echo reference where we use the dummy DAI link. Return the error when the widget is not set to avoid a null pointer dereference like below when the topology is broken.
RIP: 0010:hda_dai_get_ops.isra.0+0x14/0xa0 [snd_sof_intel_hda_common]
From the CVE record · Linux
The Linux kernel's ASoC SOF Intel HDA code can dereference a NULL pointer when the machine driver's DAI links do not match the topology and a playback or capture widget is unset. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with ASoC SOF Intel HDA should check their versions; affected versions are not specified.