---
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: none
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-24'
sourceUpdated: '2026-09-24T17:17:24.390'
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
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-24T16:47:15.874Z'
---

## 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.
