Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: rockchip: rockchip_pdm: Handle runtime PM resume failures in set_fmt rockchip_pdm_set_fmt() calls pm_runtime_get_sync() before accessing hardware registers, but ignores its return value. If the runtime resume fails, the function continues to perform register accesses while the device state is undefined. Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() and return early on failure to avoid unpowered register accesses.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before 105ea8b7a29b473cbe3aa1e542997700c98e3adc; affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before aa48db0257ed4cdb52f922d32872dcc8d201925e; affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before 52b77346cf66174ab9bc34504729cd686a9e29b1; affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before 7f0fd754c708785c31b067dd98649e3ec9b8fd72; affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before a9cc27a4a9b5fe013e152841fd8408061fa2312f; affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before b2b5c2ca5a4924271fa86d75a252de32fa285375; affected c85064435fe7a216ec0f0238ef2b8f7cd850a450 before ee7b5f7b39332febf917f9ebf212842cc9379815; affected a8f82720673d41b85145f232c954fe3a365f72b5; affected 88294658ddbe0e35fa48e1679252e86b3b5ba1d2; affected 2f0ec100032e9f23b7561ec6f3b5c8a9806a7100; affected 4.14.118 before 4.15; affected 4.19.42 before 4.20; affected 5.0.15 before 5.1 |
| Linux / Linux | affected 5.1; unaffected 0 before 5.1; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/105ea8b7a29b473cbe3aa1e542997700c98e3adc
- https://git.kernel.org/stable/c/aa48db0257ed4cdb52f922d32872dcc8d201925e
- https://git.kernel.org/stable/c/52b77346cf66174ab9bc34504729cd686a9e29b1
- https://git.kernel.org/stable/c/7f0fd754c708785c31b067dd98649e3ec9b8fd72
- https://git.kernel.org/stable/c/a9cc27a4a9b5fe013e152841fd8408061fa2312f
- https://git.kernel.org/stable/c/b2b5c2ca5a4924271fa86d75a252de32fa285375
- https://git.kernel.org/stable/c/ee7b5f7b39332febf917f9ebf212842cc9379815