Skip to content
Heist/ feed
Unrated

powercap: intel_rapl: Fix memory leak in rapl_add_package_cpuslocked()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: powercap: intel_rapl: Fix memory leak in rapl_add_package_cpuslocked() When topology_physical_package_id()/topology_logical_die_id() returns a negative value, rapl_add_package_cpuslocked() returns ERR_PTR(-EINVAL) directly without freeing the rapl_package structure that was just allocated by kzalloc_obj(), leaking memory on every failed package addition. Use the existing err_free_package label so that the allocation is released on the error path.

Announced Group revision 1
Original source ↗

CVE-2026-97473

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-2026-97473

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": "26096aed255fbac9501718174dbb24c935d8854e",
        "lessThan": "3e9e9337e03be946ec93f2c9d28dab242482be1b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "26096aed255fbac9501718174dbb24c935d8854e",
        "lessThan": "992c60771749d8d8cbfbd06049785fff95c72df1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "26096aed255fbac9501718174dbb24c935d8854e",
        "lessThan": "bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8a7fa068be099fe3406178ab047cba7c8456203",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f575a20bd53ea755800e79c2b7aea20e9b0b2242",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.10.12",
        "lessThan": "6.11",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.11.1",
        "lessThan": "6.12",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/powercap/intel_rapl_common.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.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/powercap/intel_rapl_common.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97473

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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