Bug 2348155 (CVE-2022-49245)

Summary: CVE-2022-49245 kernel: ASoC: rockchip: Fix PM usage reference of rockchip_i2s_tdm_resume
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-02-26 03:19:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

ASoC: rockchip: Fix PM usage reference of rockchip_i2s_tdm_resume

pm_runtime_get_sync will increment pm usage counter
even it failed. Forgetting to putting operation will
result in reference leak here. We fix it by replacing
it with pm_runtime_resume_and_get to keep usage counter
balanced.

Comment 1 Avinash Hanwate 2025-02-26 13:49:27 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022625-CVE-2022-49245-dcd4@gregkh/T

Comment 2 Avinash Hanwate 2025-02-26 18:00:29 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022625-CVE-2022-49245-dcd4@gregkh/T