ASoC: codecs: rt1017-sdca-sdw: fix uninitialized stream_config->type
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d195c8c763fdd0a7f74a34973f8946215a708f1e, Kernel 174d160884199cad97413f33fe1b56027dc0d3e1, Kernel 30a60e74ee71de027bf1387ac20d73e863bbf77b and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2b7aecd58528551e6e3da58091ff7ceb4718e6be <d195c8c763fdd0a7f74a34973f8946215a708f1e, >=2b7aecd58528551e6e3da58091ff7ceb4718e6be <174d160884199cad97413f33fe1b56027dc0d3e1, >=2b7aecd58528551e6e3da58091ff7ceb4718e6be <30a60e74ee71de027bf1387ac20d73e863bbf77b, >=2b7aecd58528551e6e3da58091ff7ceb4718e6be <4e337c24c0a97fcdb394f954208971de5d372066, >=2b7aecd58528551e6e3da58091ff7ceb4718e6be <7791ebf56eb4ab6b7a20252757a3029bc8068715, =6.6 | d195c8c763fdd0a7f74a34973f8946215a708f1e, 174d160884199cad97413f33fe1b56027dc0d3e1, 30a60e74ee71de027bf1387ac20d73e863bbf77b, 4e337c24c0a97fcdb394f954208971de5d372066, 7791ebf56eb4ab6b7a20252757a3029bc8068715 |
| linux-kernel: Kernel | >=6.19.0 <7.2.10, >=6.6.0 <6.6.160, >=6.7.0 <6.12.113, >=6.13.0 <6.18.56 | 7.2.10, 6.6.160, 6.12.113, 6.18.56 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket