Bug 2540543 (CVE-2026-97473) - CVE-2026-97473 kernel: powercap: intel_rapl: Fix memory leak in rapl_add_package_cpuslocked()
Summary: CVE-2026-97473 kernel: powercap: intel_rapl: Fix memory leak in rapl_add_pack...
Keywords:
Status: NEW
Alias: CVE-2026-97473
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-24 17:11 UTC by OSIDB Bzimport
Modified: 2026-09-29 18:21 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-24 17:11:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.