# CVE-2026-97473: powercap: intel_rapl: Fix memory leak in rapl_add_package_cpuslocked()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T16:04:15.812Z
- Modified: 2026-09-28T06:16:33.170Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 26096aed255fbac9501718174dbb24c935d8854e before 3e9e9337e03be946ec93f2c9d28dab242482be1b; from 26096aed255fbac9501718174dbb24c935d8854e before 992c60771749d8d8cbfbd06049785fff95c72df1; from 26096aed255fbac9501718174dbb24c935d8854e before bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47; f8a7fa068be099fe3406178ab047cba7c8456203; f575a20bd53ea755800e79c2b7aea20e9b0b2242; from 6.10.12 before 6.11; from 6.11.1 before 6.12; 6.12 (not affected: before 6.12; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/3e9e9337e03be946ec93f2c9d28dab242482be1b>
- <https://git.kernel.org/stable/c/992c60771749d8d8cbfbd06049785fff95c72df1>
- <https://git.kernel.org/stable/c/bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47>

## Sources

- CVE List: [CVE-2026-97473](https://www.cve.org/CVERecord?id=CVE-2026-97473), CVE Terms of Use, modified 2026-09-28
- NVD: [CVE-2026-97473](https://nvd.nist.gov/vuln/detail/CVE-2026-97473), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-97473 · Whole record: https://cve.day/CVE-2026-97473.json · Rebuilt by cve.day 2026-11-25T22:59:40.859Z
