ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
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: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
The nullity of sps->cstream should be checked similarly as it is done in sof_set_stream_data_offset() function. Assuming that it is not NULL if sps->stream is NULL is incorrect and can lead to NULL pointer dereference.
From the CVE record · Linux
The Linux kernel's ASoC SOF stream IPC code does not check whether sps->cstream is NULL in sof_ipc_msg_data(). This can lead to a NULL pointer dereference when sps->stream is NULL. The input does not specify how an attacker could reach this condition or whether authentication or user interaction is needed.
Engineers running the Linux kernel should check whether their kernel includes the ASoC SOF stream IPC code; affected versions are not specified.