ASoC: mediatek: mt8192: Check runtime resume during probe
- 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
- 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: 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.11
References 7
git.kernel.org
- stable/c/9339266a8a720889d0385cfd78ba6652fe7bb1a8
- stable/c/91b20e8c9b64042056d14394c89c81fc16a1c327
- stable/c/6e2ee6eacc3ec7b339753abcf33812d27e03efe5
- stable/c/faa97a1a6cab01cd3e2055deb4db4e57efc43ff2
- stable/c/e0f276f1918a202e9c3ac72baffd311cecb6b8db
- stable/c/f6e424835cc05d215c57b6370b2c1e353dd02915
- stable/c/e24d5dde56a50946020b134fa8448869093db76a