All reports
Low

kernel: powercap: intel_rapl: Fix memory leak in rapl_add_package_cpuslocked()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-97473

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-24

Description

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.

A flaw was found in the Linux kernel's Intel Running Average Power Limit (RAPL) power capping driver. When CPU package or die identification fails during processor initialization, the driver fails to release allocated memory on the error return path. Over time, repeated addition failures can cause kernel memory exhaustion, resulting in a Denial of Service (DoS).