CVE-2025-39923
dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 2e257a6125c63350f00dc42b9674f20fd3cf4a9f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 555bd16351a35c79efb029a196975a5a27f7fbc4; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < ebf6c7c908e5999531c3517289598f187776124f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1fc14731f0be4885e60702b9596d14d9a79cf053; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 0ff9df758af7022d749718fb6b8385cc5693acf3; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 5068b5254812433e841a40886e695633148d362d; cecf8a69042b3a54cb843223756c10ee8a8665e3; 909474cd384cb206f33461fbd18089cf170533f8; …
- Anyone running Linux 4.17
Vulnerability facts
- Affected
- Linux >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 2e257a6125c63350f00dc42b9674f20fd3cf4a9f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 555bd16351a35c79efb029a196975a5a27f7fbc4; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < ebf6c7c908e5999531c3517289598f187776124f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1fc14731f0be4885e60702b9596d14d9a79cf053; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 0ff9df758af7022d749718fb6b8385cc5693acf3; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 5068b5254812433e841a40886e695633148d362d; cecf8a69042b3a54cb843223756c10ee8a8665e3; 909474cd384cb206f33461fbd18089cf170533f8; …; Linux 4.17
- Fixed in
- Linux 2e257a6125c63350f00dc42b9674f20fd3cf4a9f, Linux 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2, Linux 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c, Linux 555bd16351a35c79efb029a196975a5a27f7fbc4, Linux 1fc14731f0be4885e60702b9596d14d9a79cf053, Linux 0ff9df758af7022d749718fb6b8385cc5693acf3, Linux 5068b5254812433e841a40886e695633148d362d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees When we don't have a clock specified in the device tree, we have no way to ensure the BAM is on. This is often the case for remotely-controlled or remotely-powered BAM instances. In this case, we need to read num-channels from the DT to have all the necessary information to complete probing. However, at the moment invalid device trees without clock and without num-channels still continue probing, because the error handling is missing return statements. The driver will then later try to read the number of channels from the registers. This is unsafe, because it relies on boot firmware and lucky timing to succeed. Unfortunately, the lack of proper error handling here has been abused for several Qualcomm SoCs upstream, causing early boot crashes in several situations [1, 2]. Avoid these early crashes by erroring out when any of the required DT properties are missing. Note that this will break some of the existing DTs upstream (mainly BAM instances related to the crypto engine). However, clearly these DTs have never been tested properly, since the error in the kernel log was just ignored. It's safer to disable the crypto engine for these broken DTBs. [1]: https://lore.kernel.org/r/CY01EKQVWE36.B9X5TDXAREPF@fairphone.com/ [2]: https://lore.kernel.org/r/20230626145959.646747-1-krzysztof.kozlowski@linaro.org/
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 2e257a6125c63350f00dc42b9674f20fd3cf4a9f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 555bd16351a35c79efb029a196975a5a27f7fbc4; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < ebf6c7c908e5999531c3517289598f187776124f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1fc14731f0be4885e60702b9596d14d9a79cf053; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 0ff9df758af7022d749718fb6b8385cc5693acf3; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 5068b5254812433e841a40886e695633148d362d; cecf8a69042b3a54cb843223756c10ee8a8665e3; 909474cd384cb206f33461fbd18089cf170533f8; … | — | cvelist |
| Linux | 4.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39923. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39923.md Affected: Linux >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 2e257a6125c63350f00dc42b9674f20fd3cf4a9f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c; >= 48d163b1aa6e7f650c0b7a4… Fixed in: Linux 2e257a6125c63350f00dc42b9674f20fd3cf4a9f, Linux 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2, Linux 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c, Linux 555bd16351a35c79efb029a196975a5a27f7fbc4, Linux 1fc14731f0be4885e60702b9596d14d9a79cf053, Linux 0ff9df758af7022d749718fb6b8385cc5693acf3, Linux 5068b… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2e257a6125c63350f00dc42b9674f20fd3cf4a9f
- https://git.kernel.org/stable/c/1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2
- https://git.kernel.org/stable/c/6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c
- https://git.kernel.org/stable/c/555bd16351a35c79efb029a196975a5a27f7fbc4
- https://git.kernel.org/stable/c/ebf6c7c908e5999531c3517289598f187776124f
- https://git.kernel.org/stable/c/1fc14731f0be4885e60702b9596d14d9a79cf053
- https://git.kernel.org/stable/c/0ff9df758af7022d749718fb6b8385cc5693acf3
- https://git.kernel.org/stable/c/5068b5254812433e841a40886e695633148d362d
FAQ
Is CVE-2025-39923 being exploited?
There is no confirmed exploitation: CVE-2025-39923 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39923?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39923?
Linux >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 2e257a6125c63350f00dc42b9674f20fd3cf4a9f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 555bd16351a35c79efb029a196975a5a27f7fbc4; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < ebf6c7c908e5999531c3517289598f187776124f; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 1fc14731f0be4885e60702b9596d14d9a79cf053; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 0ff9df758af7022d749718fb6b8385cc5693acf3; >= 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, < 5068b5254812433e841a40886e695633148d362d; cecf8a69042b3a54cb843223756c10ee8a8665e3; 909474cd384cb206f33461fbd18089cf170533f8; …; Linux 4.17.
Is there a fix for CVE-2025-39923?
Yes. Fixed in Linux 2e257a6125c63350f00dc42b9674f20fd3cf4a9f, Linux 1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2, Linux 6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c, Linux 555bd16351a35c79efb029a196975a5a27f7fbc4, Linux 1fc14731f0be4885e60702b9596d14d9a79cf053, Linux 0ff9df758af7022d749718fb6b8385cc5693acf3, Linux 5068b5254812433e841a40886e695633148d362d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-39923?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.