Bug 2348176 (CVE-2022-49650) - CVE-2022-49650 kernel: dmaengine: qcom: bam_dma: fix runtime PM underflow
Summary: CVE-2022-49650 kernel: dmaengine: qcom: bam_dma: fix runtime PM underflow
Keywords:
Status: NEW
Alias: CVE-2022-49650
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:20 UTC by OSIDB Bzimport
Modified: 2025-02-27 16:41 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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

dmaengine: qcom: bam_dma: fix runtime PM underflow

Commit dbad41e7bb5f ("dmaengine: qcom: bam_dma: check if the runtime pm enabled")
caused unbalanced pm_runtime_get/put() calls when the bam is
controlled remotely. This commit reverts it and just enables pm_runtime
in all cases, the clk_* functions already just nop when the clock is NULL.

Also clean up a bit by removing unnecessary bamclk null checks.

Comment 4 Avinash Hanwate 2025-02-27 16:36:31 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022620-CVE-2022-49650-c3d8@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.