Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • dbad41e7bb5f4b9949ff5ea1d76c20711f326308 to < 2f6ded79068cac8cff41d5d5632564165d98ee12affected
  • dbad41e7bb5f4b9949ff5ea1d76c20711f326308 to < b702a1077b51fcb39507cc3bd39206f539319a96affected
  • dbad41e7bb5f4b9949ff5ea1d76c20711f326308 to < 0ac9c3dd0d6fe293cd5044cfad10bec27d171e4eaffected

Linux Linux

Default version status: affected

  • 4.17affected
  • 0 to < 4.17unaffected
  • 5.15.54 to ≤ 5.15.*unaffected
  • 5.18.11 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References