ASoC: codecs: rt712-sdca-dmic: fix uninitialized stream_config->type
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.158, 6.12.112, 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 63a511284c9ea72696a5dd0a2d2721bdef19f774 · fixed in 6507055733a9d397289277408b52daf422f8a814; From 63a511284c9ea72696a5dd0a2d2721bdef19f774 · fixed in c144447c207e2be24d6ac86d544691ba464caad8; From 63a511284c9ea72696a5dd0a2d2721bdef19f774 · fixed in d93988c9e58d37b677f6ee8aceae741c8d1e30ad; From 63a511284c9ea72696a5dd0a2d2721bdef19f774 · fixed in a318ee718e7448cd6bf62d9b3197b6a6a8d4701e; From 63a511284c9ea72696a5dd0a2d2721bdef19f774 · fixed in 03a5699a0a04309c597683967aaaf25d1e555ea2
- Linux Linux
6.4
- KernelLinux
From 6.4.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8