CVE-2026-139626: ASoC: fsl_asrc_m2m: fix pm_runtime usage counter leak on error
In the Linux kernel, the following vulnerability has been resolved:
ASoC: fslasrcm2m: fix pmruntime usage counter leak on error
pmruntimegetsync() leaves the runtime PM usage counter incremented even when it fails, but the error path in fslasrcm2mcompopen() does not call pmruntimeputnoidle() to balance it, leaking a reference each time resume fails.
Use pmruntimeresumeandget() instead, which automatically drops the usage counter on failure, fixing the leak.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In fsl_asrc_m2m_comp_open(), use pm_runtime_resume_and_get() instead of pm_runtime_get_sync() to avoid leaking the runtime PM usage counter when resume fails.
Event History
Frequently Asked Questions
Under what condition does the usage-counter leak occur?
The leak occurs when runtime resume fails during fsl_asrc_m2m_comp_open(). Each such failure leaves an additional runtime PM usage-counter reference.
How is the issue fixed?
The fix replaces pm_runtime_get_sync() with pm_runtime_resume_and_get(). The replacement automatically drops the runtime PM usage-counter reference when resume fails.