CVE-2022-49650

dmaengine: qcom: bam_dma: fix runtime PM underflow

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:23 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.17 ≤ v < 5.15.544.17 ≤ v < 5.18.114.17 ≤ v < 5.194.17.1 ≤ v < 5.15.545.16 ≤ v < 5.18.114.174.17 rc64.17 rc75.19 rc15.19 rc25.19 rc35.19 rc45.19 rc5dbad41e7bb5f4b9949ff5ea1d76c20711f326308
Vendor states this is fixed in 0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e (fixed)
Vendor states this is fixed in 2f6ded79068cac8cff41d5d5632564165d98ee12 (fixed)
Vendor states this is fixed in b702a1077b51fcb39507cc3bd39206f539319a96 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.15.54 (unaffected)
Vendor states this is fixed in 5.18.11 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2f6ded79068cac8cff41d5d5632564165d98ee12
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b702a1077b51fcb39507cc3bd39206f539319a96

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-191

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card