dmaengine: qcom: bam_dma: fix runtime PM underflow
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.545.18.115.19In 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.
From the CVE record · Linux
The Linux kernel's Qualcomm bam_dma driver has unbalanced runtime power-management calls when BAM is controlled remotely, causing a runtime PM underflow. The input does not specify an attacker action or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels with the Qualcomm bam_dma driver should check their versions; affected versions are not specified.