Vulnerability in dmaengine: qcom: bam_dma

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004418: dmaengine: qcom: bam_dma: fix runtime PM underflow. Affects Kernel versions >= dbad41e7bb5f4b9949ff5ea1d76c20711f326308, < 2f6ded79068cac8cff41d5d5632564165d98ee12. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The dmaengine package is a component of the Linux Kernel that provides a framework for managing DMA (Direct Memory Access) operations. It allows devices to transfer data directly to and from memory without involving the CPU. The qcom: bam_dma driver is a specific implementation within dmaengine for Qualcomm platforms. It enables efficient data transfers between peripherals and memory using the BAM (Bus Access Manager) hardware. However, a vulnerability has been discovered in this driver that could lead to a runtime PM (Power Management) underflow.

Vulnerability Detail

The vulnerability in dmaengine: qcom: bam_dma is caused by a runtime PM underflow. Runtime PM is a mechanism in the Linux Kernel that allows devices to be powered down when they are not in use, conserving energy. However, in this case, the implementation of runtime PM in the qcom: bam_dma driver has a flaw that can result in an underflow. This underflow can lead to incorrect power management operations, potentially causing the device to malfunction or crash. An attacker with local access to the system may be able to exploit this vulnerability to disrupt the normal functioning of the device or gain elevated privileges.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. Users are advised to update their Linux Kernel to the fixed version as mentioned in the 'how_to_fix' section.

Conclusion

The vulnerability in dmaengine: qcom: bam_dma can lead to a runtime PM underflow, potentially causing device malfunctions or crashes. It is recommended to update the Linux Kernel to a version that includes the fix to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

dmaengine is a component of the Linux Kernel that provides a framework for managing DMA operations. It allows devices to transfer data directly to and from memory without involving the CPU.

The qcom: bam_dma driver is a specific implementation within dmaengine for Qualcomm platforms. It enables efficient data transfers between peripherals and memory using the BAM hardware.

Runtime PM is a mechanism in the Linux Kernel that allows devices to be powered down when they are not in use, conserving energy.

A runtime PM underflow occurs when the implementation of runtime PM in a driver has a flaw that leads to incorrect power management operations, potentially causing the device to malfunction or crash.

An attacker with local access to the system may be able to exploit this vulnerability to disrupt the normal functioning of the device or gain elevated privileges.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback