{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-39923",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-39923",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-01T08:07:11.469Z",
    "updatedAt": "2026-05-23T16:00:59.237Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees\n\nWhen we don't have a clock specified in the device tree, we have no way to\nensure the BAM is on. This is often the case for remotely-controlled or\nremotely-powered BAM instances. In this case, we need to read num-channels\nfrom the DT to have all the necessary information to complete probing.\n\nHowever, at the moment invalid device trees without clock and without\nnum-channels still continue probing, because the error handling is missing\nreturn statements. The driver will then later try to read the number of\nchannels from the registers. This is unsafe, because it relies on boot\nfirmware and lucky timing to succeed. Unfortunately, the lack of proper\nerror handling here has been abused for several Qualcomm SoCs upstream,\ncausing early boot crashes in several situations [1, 2].\n\nAvoid these early crashes by erroring out when any of the required DT\nproperties are missing. Note that this will break some of the existing DTs\nupstream (mainly BAM instances related to the crypto engine). However,\nclearly these DTs have never been tested properly, since the error in the\nkernel log was just ignored. It's safer to disable the crypto engine for\nthese broken DTBs.\n\n[1]: https://lore.kernel.org/r/CY01EKQVWE36.B9X5TDXAREPF@fairphone.com/\n[2]: https://lore.kernel.org/r/20230626145959.646747-1-krzysztof.kozlowski@linaro.org/",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2e257a6125c63350f00dc42b9674f20fd3cf4a9f"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1d98ba204d8a6db0d986c7f1aefaa0dcd1c007a2"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6ac1599d0e78036d9d08efc2f58c2d91f0a3ee4c"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "555bd16351a35c79efb029a196975a5a27f7fbc4"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ebf6c7c908e5999531c3517289598f187776124f"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1fc14731f0be4885e60702b9596d14d9a79cf053"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0ff9df758af7022d749718fb6b8385cc5693acf3"
            },
            {
              "version": "48d163b1aa6e7f650c0b7a4f9c61c387a6def868",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5068b5254812433e841a40886e695633148d362d"
            },
            {
              "version": "cecf8a69042b3a54cb843223756c10ee8a8665e3",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "909474cd384cb206f33461fbd18089cf170533f8",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5e0986f7caf17d7b1acd2092975360bf8e88a57d",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.9.104",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "4.14.45",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.16.13",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.17"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.17",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.17"
            },
            {
              "version": "5.4.300",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.245",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.194",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.153",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.107",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.48",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}