Linux
ASoC: fsl_micfil: balance mclk enable/disable
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= b47024dc624bcffb89d238f4a5b490363cea2a1e, < 470db2026a435b79f7ecb4d65523ea16a99d55d8
- >= b47024dc624bcffb89d238f4a5b490363cea2a1e, < fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5
- >= b47024dc624bcffb89d238f4a5b490363cea2a1e, < d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56
Fixed in 470db2026a435b79f7ecb4d65523ea16a99d55d8, fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5, d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56
- 6.13
Fixed in 0, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to 470db2026a435b79f7ecb4d65523ea16a99d55d8 or fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5 or d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56 or later.
Upgrade Linux to 0 or 6.18.53 or 7.2.7 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.