CVE-2025-39923
BaseFortify
Publication date: 2025-10-01
Last updated on: 2025-11-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux | 6.1.153 |
| qualcomm | bam_dma | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's dmaengine driver for Qualcomm BAM DMA. It occurs because the driver lacks proper error handling when required device tree (DT) properties like 'clock' and 'num-channels' are missing. Without these properties, the driver continues probing unsafely, relying on boot firmware and timing, which can cause early boot crashes on several Qualcomm SoCs. The fix involves adding error returns when these DT properties are missing to prevent unsafe probing and crashes.
How can this vulnerability impact me? :
This vulnerability can cause early boot crashes on devices using affected Qualcomm SoCs due to improper handling of missing device tree properties in the BAM DMA driver. This can lead to system instability or failure to boot properly, especially in cases where BAM instances are remotely controlled or powered and lack proper clock specification in the device tree.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking the kernel logs for error messages related to the BAM DMA driver probing process, specifically errors indicating missing device tree properties such as 'clock' or 'num-channels'. There are no specific commands provided to detect this vulnerability directly, but reviewing dmesg or journalctl logs for such errors is recommended.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that device trees for Qualcomm SoCs correctly specify the required 'clock' and 'num-channels' properties for BAM DMA instances. If broken device trees are detected, disable the related crypto engine to avoid early boot crashes. Applying the kernel patch that fixes the error handling in the bam_dma driver is also necessary.