VDB

CVE-2025-39923

CVE-2025-39923 PUBLISHED

dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees

Reported by linux · Published October 1, 2025

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/

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-develAmazon Linux4.14.355-280.706.amzn2
kernel-toolsAmazon Linux4.14.355-280.706.amzn2
kernel-tools-develAmazon Linux4.14.355-280.706.amzn2
kernel-headersAmazon Linux4.14.355-280.706.amzn2
kernel-livepatch-4.14.355-280.706Amazon Linux1.0-0.amzn2
python-perfAmazon Linux4.14.355-280.706.amzn2
linux_kernellinux6.16.8, 6.12.48, 6.6.107, 6.1.153, 5.15.194, 5.10.245, 5.4.300, 4.15, 4.10

Affected products

VendorProductVersions
LinuxLinux48d163b1aa6e7f650c0b7a4f9c61c387a6def868, 48d163b1aa6e7f650c0b7a4f9c61c387a6def868, 48d163b1aa6e7f650c0b7a4f9c61c387a6def868
LinuxLinux4.17, 0, 5.4.300
amazon:2kernel-devel0
amazon:2kernel-tools0
amazon:2kernel-tools-devel0
amazon:2kernel-headers0
amazon:2kernel-livepatch-4.14.355-280.7060
amazon:2python-perf0
linuxlinux_kernel4.17, 4.17, 4.17
amazon:2kernel0
amazon:2perf0
LinuxLinux5e0986f7caf17d7b1acd2092975360bf8e88a57d, 5.15.194, 6.17

Timeline

  • Sep 30, 2025 CVE Published
  • Oct 1, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (15 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (132 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (140 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39923
vulnetix vdb fixes CVE-2025-39923

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39923/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›