Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b47024dc624bcffb89d238f4a5b490363cea2a1e before 470db2026a435b79f7ecb4d65523ea16a99d55d8; affected b47024dc624bcffb89d238f4a5b490363cea2a1e before fa1bbe3534499dd89d3b0b941d6dd4ddb70c31b5; affected b47024dc624bcffb89d238f4a5b490363cea2a1e before d3dbccfe6afa7b9a6a7ed65cfaa76a47fa050a56 |
| Linux / Linux | affected 6.13; unaffected 0 before 6.13; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.