{
  "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-38538",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38538",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-08-16T11:12:30.878Z",
    "updatedAt": "2026-05-11T21:29:57.690Z",
    "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: nbpfaxi: Fix memory corruption in probe()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: nbpfaxi: Fix memory corruption in probe()\n\nThe nbpf->chan[] array is allocated earlier in the nbpf_probe() function\nand it has \"num_channels\" elements.  These three loops iterate one\nelement farther than they should and corrupt memory.\n\nThe changes to the second loop are more involved.  In this case, we're\ncopying data from the irqbuf[] array into the nbpf->chan[] array.  If\nthe data in irqbuf[i] is the error IRQ then we skip it, so the iterators\nare not in sync.  I added a check to ensure that we don't go beyond the\nend of the irqbuf[] array.  I'm pretty sure this can't happen, but it\nseemed harmless to add a check.\n\nOn the other hand, after the loop has ended there is a check to ensure\nthat the \"chan\" iterator is where we expect it to be.  In the original\ncode we went one element beyond the end of the array so the iterator\nwasn't in the correct place and it would always return -EINVAL.  However,\nnow it will always be in the correct place.  I deleted the check since\nwe know the result.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "84fff8e6f11b9af1407e273995b5257d99ff0cff"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aec396b4f736f3f8d2c28a9cd2924a4ada57ae87"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "24861ef8b517a309a4225f2793be0cd8fa0bec9e"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f366b36c5e3ce29c9a3c8eed3d1631908e4fc8bb"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4bb016438335ec02b01f96bf1367378c2bfe03e5"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "122160289adf8ebf15060f1cbf6265b55a914948"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d6bbd67ab5de37a74ac85c83c5a26664b62034dd"
            },
            {
              "version": "b45b262cefd5b8eb2ba88d20e5bd295881293894",
              "status": "affected",
              "versionType": "git",
              "lessThan": "188c6ba1dd925849c5d94885c8bbdeb0b3dcf510"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.17",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.17"
            },
            {
              "version": "5.4.297",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.147",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.100",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.40",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}