---
id: CVE-2026-97473
title: |-
  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…
summary: |-
  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…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    3e9e9337e03be946ec93f2c9d28dab242482be1b
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    992c60771749d8d8cbfbd06049785fff95c72df1
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47
  - Linux < 6.12.111
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-09-24'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T06:16:33.170'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97473'
references:
  - url: 'https://git.kernel.org/stable/c/3e9e9337e03be946ec93f2c9d28dab242482be1b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/992c60771749d8d8cbfbd06049785fff95c72df1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97473.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97473'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540543'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97473'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97473'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97473.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00166
epssPercentile: 0.05794
ingestedAt: '2026-09-24T16:47:15.874Z'
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-772
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-30 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97473.json)
