Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: rt1017-sdca-sdw: 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. While at it, use snd_sdw_params_to_config() helper instead of open-coding the same logic.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
2b7aecd58528551e6e3da58091ff7ceb4718e6be to < 30a60e74ee71de027bf1387ac20d73e863bbf77baffected2b7aecd58528551e6e3da58091ff7ceb4718e6be to < 4e337c24c0a97fcdb394f954208971de5d372066affected2b7aecd58528551e6e3da58091ff7ceb4718e6be to < d195c8c763fdd0a7f74a34973f8946215a708f1eaffected2b7aecd58528551e6e3da58091ff7ceb4718e6be to < 7791ebf56eb4ab6b7a20252757a3029bc8068715affected2b7aecd58528551e6e3da58091ff7ceb4718e6be to < 174d160884199cad97413f33fe1b56027dc0d3e1affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/30a60e74ee71de027bf1387ac20d73e863bbf77b ↗
- https://git.kernel.org/stable/c/4e337c24c0a97fcdb394f954208971de5d372066 ↗
- https://git.kernel.org/stable/c/d195c8c763fdd0a7f74a34973f8946215a708f1e ↗
- https://git.kernel.org/stable/c/7791ebf56eb4ab6b7a20252757a3029bc8068715 ↗
- https://git.kernel.org/stable/c/174d160884199cad97413f33fe1b56027dc0d3e1 ↗