{
  "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-38313",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38313",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-10T07:42:21.314Z",
    "updatedAt": "2026-05-11T21:25:33.799Z",
    "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": "bus: fsl-mc: fix double-free on mc_dev",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbus: fsl-mc: fix double-free on mc_dev\n\nThe blamed commit tried to simplify how the deallocations are done but,\nin the process, introduced a double-free on the mc_dev variable.\n\nIn case the MC device is a DPRC, a new mc_bus is allocated and the\nmc_dev variable is just a reference to one of its fields. In this\ncircumstance, on the error path only the mc_bus should be freed.\n\nThis commit introduces back the following checkpatch warning which is a\nfalse-positive.\n\nWARNING: kfree(NULL) is safe and this check is probably not required\n+       if (mc_bus)\n+               kfree(mc_bus);",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "12e4431e5078847791936820bd39df9e1ee26d2e"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3135e03a92f6b5259d0a7f25f728e9e7866ede3f"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7002b954c4a8b9965ba0f139812ee4a6f71beac8"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b2057374f326303c86d8423415ab58656eebc695"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4b23c46eb2d88924b93aca647bde9a4b9cf62cf9"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1d5baab39e5b09a76870b345cdee7933871b881f"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "873d47114fd5e5a1cad2018843671537cc71ac84"
            },
            {
              "version": "a042fbed02904493ae6df26ec836045f5a7d3ce2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d694bf8a9acdbd061596f3e7549bc8cb70750a60"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.13"
            },
            {
              "version": "5.4.295",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.239",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.186",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.142",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.94",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.34",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}