Description
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 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
c85064435fe7a216ec0f0238ef2b8f7cd850a450 to < 105ea8b7a29b473cbe3aa1e542997700c98e3adcaffectedc85064435fe7a216ec0f0238ef2b8f7cd850a450 to < aa48db0257ed4cdb52f922d32872dcc8d201925eaffectedc85064435fe7a216ec0f0238ef2b8f7cd850a450 to < 52b77346cf66174ab9bc34504729cd686a9e29b1affectedc85064435fe7a216ec0f0238ef2b8f7cd850a450 to < 7f0fd754c708785c31b067dd98649e3ec9b8fd72affectedc85064435fe7a216ec0f0238ef2b8f7cd850a450 to < a9cc27a4a9b5fe013e152841fd8408061fa2312faffectedc85064435fe7a216ec0f0238ef2b8f7cd850a450 to < b2b5c2ca5a4924271fa86d75a252de32fa285375affectedc85064435fe7a216ec0f0238ef2b8f7cd850a450 to < ee7b5f7b39332febf917f9ebf212842cc9379815affecteda8f82720673d41b85145f232c954fe3a365f72b5affected88294658ddbe0e35fa48e1679252e86b3b5ba1d2affected2f0ec100032e9f23b7561ec6f3b5c8a9806a7100affected4.14.118 to < 4.15affected4.19.42 to < 4.20affected5.0.15 to < 5.1affected
Linux Linux
Default version status: affected
5.1affected0 to < 5.1unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
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 ↗