{
  "id": "CVE-2025-38421",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38421",
  "published_at": "2025-07-25T14:16:42.409Z",
  "title": "platform/x86/amd: pmf: Use device managed allocations",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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-\u003ebuf 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.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335, \u003c d6a38e1a82d2f9abd0bae84a354654bccb8389f6",
          "\u003e= 5b1122fc4995f308b21d7cfc64ef9880ac834d20, \u003c 0d10b532f861253c283863522d59d099fcb0796d",
          "\u003e= 5b1122fc4995f308b21d7cfc64ef9880ac834d20, \u003c d9db3a941270d92bbd1a6a6b54a10324484f2f2d",
          "3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b",
          "\u003e= 6.12.23, \u003c 6.12.114",
          "\u003e= 6.13.11, \u003c 6.14"
        ],
        "fixed_in": [
          "d6a38e1a82d2f9abd0bae84a354654bccb8389f6",
          "0d10b532f861253c283863522d59d099fcb0796d",
          "d9db3a941270d92bbd1a6a6b54a10324484f2f2d",
          "6.12.114",
          "6.14"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.14"
        ],
        "fixed_in": [
          "0",
          "6.12.114",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d6a38e1a82d2f9abd0bae84a354654bccb8389f6 or 0d10b532f861253c283863522d59d099fcb0796d or d9db3a941270d92bbd1a6a6b54a10324484f2f2d or 6.12.114 or 6.14 or later.",
      "Upgrade Linux to 0 or 6.12.114 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
