CVE-2022-49650

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxdbad41e7bb5f4b9949ff5ea1d76c20711f326308 < 2f6ded79068cac8cff41d5d5632564165d98ee12affected
LinuxLinuxdbad41e7bb5f4b9949ff5ea1d76c20711f326308 < b702a1077b51fcb39507cc3bd39206f539319a96affected
LinuxLinuxdbad41e7bb5f4b9949ff5ea1d76c20711f326308 < 0ac9c3dd0d6fe293cd5044cfad10bec27d171e4eaffected
LinuxLinux4.17affected
LinuxLinux0 < 4.17unaffected
LinuxLinux5.15.54 <= 5.15.*unaffected
LinuxLinux5.18.11 <= 5.18.*unaffected
LinuxLinux5.19 <= *unaffected

Weaknesses

References