{
  "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-38421",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38421",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-25T14:16:42.409Z",
    "updatedAt": "2026-10-21T12:37:04.677Z",
    "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": "platform/x86/amd: pmf: Use device managed allocations",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86/amd: pmf: Use device managed allocations\n\nIf setting up smart PC fails for any reason then this can lead to\na double free when unloading amd-pmf.  This is because dev->buf was\nfreed but never set to NULL and is again freed in amd_pmf_remove().\n\nTo avoid subtle allocation bugs in failures leading to a double free\nchange all allocations into device managed allocations.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d6a38e1a82d2f9abd0bae84a354654bccb8389f6"
            },
            {
              "version": "5b1122fc4995f308b21d7cfc64ef9880ac834d20",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0d10b532f861253c283863522d59d099fcb0796d"
            },
            {
              "version": "5b1122fc4995f308b21d7cfc64ef9880ac834d20",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d9db3a941270d92bbd1a6a6b54a10324484f2f2d"
            },
            {
              "version": "3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "6.12.23",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.12.114"
            },
            {
              "version": "6.13.11",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.14"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.14",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.14"
            },
            {
              "version": "6.12.114",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}