Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8192: Check runtime resume during probe The MT8192 AFE probe enables runtime PM temporarily while reinitializing the regmap cache from hardware, but it uses pm_runtime_get_sync() without checking the return value. If runtime resume fails, probe keeps going without the device necessarily being accessible, and pm_runtime_get_sync() may leave the PM usage count incremented. The regmap_reinit_cache() failure path also returns before dropping the temporary PM reference and before clearing pm_runtime_bypass_reg_ctl. Use pm_runtime_resume_and_get() so resume failures do not leak a usage count, and clear the temporary bypass flag after dropping the probe PM reference on all regmap_reinit_cache() outcomes.
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
125ab5d588b0b3b842064c4d53a666ca74521ae8 to < 9339266a8a720889d0385cfd78ba6652fe7bb1a8affected125ab5d588b0b3b842064c4d53a666ca74521ae8 to < 91b20e8c9b64042056d14394c89c81fc16a1c327affected125ab5d588b0b3b842064c4d53a666ca74521ae8 to < 6e2ee6eacc3ec7b339753abcf33812d27e03efe5affected125ab5d588b0b3b842064c4d53a666ca74521ae8 to < faa97a1a6cab01cd3e2055deb4db4e57efc43ff2affected125ab5d588b0b3b842064c4d53a666ca74521ae8 to < e0f276f1918a202e9c3ac72baffd311cecb6b8dbaffected125ab5d588b0b3b842064c4d53a666ca74521ae8 to < f6e424835cc05d215c57b6370b2c1e353dd02915affected125ab5d588b0b3b842064c4d53a666ca74521ae8 to < e24d5dde56a50946020b134fa8448869093db76aaffected
Linux Linux
Default version status: affected
5.11affected0 to < 5.11unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9339266a8a720889d0385cfd78ba6652fe7bb1a8 ↗
- https://git.kernel.org/stable/c/91b20e8c9b64042056d14394c89c81fc16a1c327 ↗
- https://git.kernel.org/stable/c/6e2ee6eacc3ec7b339753abcf33812d27e03efe5 ↗
- https://git.kernel.org/stable/c/faa97a1a6cab01cd3e2055deb4db4e57efc43ff2 ↗
- https://git.kernel.org/stable/c/e0f276f1918a202e9c3ac72baffd311cecb6b8db ↗
- https://git.kernel.org/stable/c/f6e424835cc05d215c57b6370b2c1e353dd02915 ↗
- https://git.kernel.org/stable/c/e24d5dde56a50946020b134fa8448869093db76a ↗