ASoC: fsl_micfil: balance mclk enable/disable
- 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.18.53, 7.2.7
- 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: fsl_micfil: balance mclk enable/disable hw_params() enables mclk unconditionally and hw_free() disables it unconditionally, but the PCM core does not guarantee 1:1 pairing: hw_free() can run without hw_params(), and hw_params() can be called multiple times from the SETUP state. This triggers an "already disabled" WARN() in the first case and leaks an enable reference in the second, leaving the clock ungateable. Guard both sides with the existing mclk_flag, as fsl_sai.c does with mclk_streams.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b47024dc624bcffb89d238f4a5b490363cea2a1e · fixed in 470db2026a435b79f7ecb4d65523ea16a99d55d8; From b47024dc624bcffb89d238f4a5b490363cea2a1e · fixed in fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5; From b47024dc624bcffb89d238f4a5b490363cea2a1e · fixed in d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56
- Linux Linux
6.13
- KernelLinux
From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7