CVE-2026-97407: ASoC: rockchip: rockchip_pdm: Handle runtime PM resume failures in set_fmt
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rockchip: rockchippdm: Handle runtime PM resume failures in setfmt
rockchippdmsetfmt() calls pmruntimegetsync() 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 pmruntimegetsync() with pmruntimeresumeandget() and return early on failure to avoid unpowered register accesses.
Affected Software
Event History
Frequently Asked Questions
Is normal operation affected if runtime resume succeeds?
The unsafe register access occurs when the runtime PM resume fails. The issue is in the error-handling path after a failed resume, where the previous code continued despite an undefined device state.
What behavior does the resolved code implement?
It uses pm_runtime_resume_and_get() instead of pm_runtime_get() and returns immediately if runtime resume fails. This prevents hardware register accesses when the device may be unpowered.