Skip to content
Heist/ feed
High

platform/x86/amd: pmf: Use device managed allocations

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: pmf: Use device managed allocations If setting up smart PC fails for any reason then this can lead to a double free when unloading amd-pmf. This is because dev->buf was freed but never set to NULL and is again freed in amd_pmf_remove(). To avoid subtle allocation bugs in failures leading to a double free change all allocations into device managed allocations.

Announced Group revision 1
Original source ↗

CVE-2025-38421

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-38421

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335",
        "lessThan": "d6a38e1a82d2f9abd0bae84a354654bccb8389f6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5b1122fc4995f308b21d7cfc64ef9880ac834d20",
        "lessThan": "0d10b532f861253c283863522d59d099fcb0796d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5b1122fc4995f308b21d7cfc64ef9880ac834d20",
        "lessThan": "d9db3a941270d92bbd1a6a6b54a10324484f2f2d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.12.23",
        "lessThan": "6.12.114",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.13.11",
        "lessThan": "6.14",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/platform/x86/amd/pmf/core.c",
      "drivers/platform/x86/amd/pmf/tee-if.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.15.4",
        "versionType": "semver",
        "lessThanOrEqual": "6.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.16",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/platform/x86/amd/pmf/core.c",
      "drivers/platform/x86/amd/pmf/tee-if.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-38421

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#46005 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement