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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-02)
- Published: 2025-02-26T02:23:53.006Z
- Modified: 2026-06-17T05:18:45.170Z
- Weaknesses: CWE-191
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from dbad41e7bb5f4b9949ff5ea1d76c20711f326308 before 2f6ded79068cac8cff41d5d5632564165d98ee12; from dbad41e7bb5f4b9949ff5ea1d76c20711f326308 before b702a1077b51fcb39507cc3bd39206f539319a96; from dbad41e7bb5f4b9949ff5ea1d76c20711f326308 before 0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e; 4.17 (not affected: before 4.17; from 5.15.54 up to 5.15.*; from 5.18.11 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.17.1 before 5.15.54; from 5.16 before 5.18.11; 4.17; 5.19

## References

- <https://git.kernel.org/stable/c/2f6ded79068cac8cff41d5d5632564165d98ee12> (patch)
- <https://git.kernel.org/stable/c/b702a1077b51fcb39507cc3bd39206f539319a96> (patch)
- <https://git.kernel.org/stable/c/0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e> (patch)

## Sources

- CVE List: [CVE-2022-49650](https://www.cve.org/CVERecord?id=CVE-2022-49650), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49650](https://nvd.nist.gov/vuln/detail/CVE-2022-49650), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49650 · Whole record: https://cve.day/CVE-2022-49650.json · Rebuilt by cve.day 2026-11-25T22:58:20.780Z
