Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: rt712-sdca-dmic: 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
63a511284c9ea72696a5dd0a2d2721bdef19f774 to < 6507055733a9d397289277408b52daf422f8a814affected63a511284c9ea72696a5dd0a2d2721bdef19f774 to < c144447c207e2be24d6ac86d544691ba464caad8affected63a511284c9ea72696a5dd0a2d2721bdef19f774 to < d93988c9e58d37b677f6ee8aceae741c8d1e30adaffected63a511284c9ea72696a5dd0a2d2721bdef19f774 to < a318ee718e7448cd6bf62d9b3197b6a6a8d4701eaffected63a511284c9ea72696a5dd0a2d2721bdef19f774 to < 03a5699a0a04309c597683967aaaf25d1e555ea2affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6507055733a9d397289277408b52daf422f8a814 ↗
- https://git.kernel.org/stable/c/c144447c207e2be24d6ac86d544691ba464caad8 ↗
- https://git.kernel.org/stable/c/d93988c9e58d37b677f6ee8aceae741c8d1e30ad ↗
- https://git.kernel.org/stable/c/a318ee718e7448cd6bf62d9b3197b6a6a8d4701e ↗
- https://git.kernel.org/stable/c/03a5699a0a04309c597683967aaaf25d1e555ea2 ↗