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.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <3e9e9337e03be946ec93f2c9d28dab242482be1b; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <992c60771749d8d8cbfbd06049785fff95c72df1; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47; 0 to <6.12.111; 0 to <6.18.53
LinuxLinux6.12.111 to <=6.12.*; 6.18.53 to <=6.18.*; 7.2 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 25 Sep 2026 07:05 UTC.