What’s Vulnerable › Vulnerabilities

CVE-2022-49650: dmaengine: qcom: bam_dma: fix runtime PM underflow

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.54, 5.18.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49650 or the next vulnerability affects your stack