ASoC: codecs: max98363: fix uninitialized stream_config->type
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: codecs: max98363: fix uninitialized stream_config->type
stream_config is not initialized before being passed to sdw_stream_add_slave(). The type field may contain garbage and is later copied to stream->type by sdw_config_stream().
Zero-initialize stream_config so type defaults to SDW_STREAM_PCM.
From the CVE record · Linux
The Linux kernel max98363 codec passes an uninitialized stream configuration to sdw_stream_add_slave(). Its type field may contain garbage that is later copied to the stream; the input does not specify an attacker action, access requirements, or user interaction.
Engineers running Linux kernels with the max98363 codec should check their versions; affected versions are not specified.