# CVE-2025-68204: pmdomain: arm: scmi: Fix genpd leak on provider registration failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-16T13:48:31.850Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 582f48d22eb5676fe7be3589b986ddd29f7bf4d1; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 7f569197f7ad09319af960bd7e43109de5c67c04; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< ad120c08b89a81d41d091490bbe150343473b659; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 921b090841ae7a08b19ab14495bdf8636dc31e21; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 983e91da82ec3e331600108f9be3ea61236f5c75; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 7458f72cc28f9eb0de811effcb5376d0ec19094a
- Anyone running Linux 4.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

pmdomain: arm: scmi: Fix genpd leak on provider registration failure

If of\_genpd\_add\_provider\_onecell() fails during probe, the previously
created generic power domains are not removed, leading to a memory leak
and potential kernel crash later in genpd\_debug\_add().

Add proper error handling to unwind the initialized domains before
returning from probe to ensure all resources are correctly released on
failure.

Example crash trace observed without this fix:

  \| Unable to handle kernel paging request at virtual address fffffffffffffc70
  \| CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.18.0-rc1 \#405 PREEMPT
  \| Hardware name: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform
  \| pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  \| pc : genpd\_debug\_add+0x2c/0x160
  \| lr : genpd\_debug\_init+0x74/0x98
  \| Call trace:
  \|  genpd\_debug\_add+0x2c/0x160 (P)
  \|  genpd\_debug\_init+0x74/0x98
  \|  do\_one\_initcall+0xd0/0x2d8
  \|  do\_initcall\_level+0xa0/0x140
  \|  do\_initcalls+0x60/0xa8
  \|  do\_basic\_setup+0x28/0x40
  \|  kernel\_init\_freeable+0xe8/0x170
  \|  kernel\_init+0x2c/0x140
  \|  ret\_from\_fork+0x10/0x20

## Affected and fixed versions

- Linux: \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 582f48d22eb5676fe7be3589b986ddd29f7bf4d1; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 7f569197f7ad09319af960bd7e43109de5c67c04; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< ad120c08b89a81d41d091490bbe150343473b659; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 921b090841ae7a08b19ab14495bdf8636dc31e21; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 983e91da82ec3e331600108f9be3ea61236f5c75; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 7458f72cc28f9eb0de811effcb5376d0ec19094a (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 7458f72cc28f9eb0de811effcb5376d0ec19094a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68204. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68204.md
Affected: Linux >= 898216c97ed2ebfffda659ce12388da43534de6c, < 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35; >= 898216c97ed2ebfffda659ce12388da43534de6c, < c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a; >= 898216c97ed2ebfffda659ce12388da43534de6c, < 582f48d22eb5676fe7be3589b986ddd29f7bf4d1; >= 898216c97ed2ebfffda659c…
Fixed in: Linux 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35, Linux 582f48d22eb5676fe7be3589b986ddd29f7bf4d1, Linux 7f569197f7ad09319af960bd7e43109de5c67c04, Linux 921b090841ae7a08b19ab14495bdf8636dc31e21, Linux 983e91da82ec3e331600108f9be3ea61236f5c75, Linux 7458f72cc28f9eb0de811effcb5376d0ec19094a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68204 being exploited?

There is no confirmed exploitation: CVE-2025-68204 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68204?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68204?

Linux \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 582f48d22eb5676fe7be3589b986ddd29f7bf4d1; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 7f569197f7ad09319af960bd7e43109de5c67c04; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< ad120c08b89a81d41d091490bbe150343473b659; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 921b090841ae7a08b19ab14495bdf8636dc31e21; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 983e91da82ec3e331600108f9be3ea61236f5c75; \>= 898216c97ed2ebfffda659ce12388da43534de6c, \< 7458f72cc28f9eb0de811effcb5376d0ec19094a; Linux 4.17.

### Is there a fix for CVE-2025-68204?

Yes. Fixed in Linux 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35, Linux 582f48d22eb5676fe7be3589b986ddd29f7bf4d1, Linux 7f569197f7ad09319af960bd7e43109de5c67c04, Linux 921b090841ae7a08b19ab14495bdf8636dc31e21, Linux 983e91da82ec3e331600108f9be3ea61236f5c75, Linux 7458f72cc28f9eb0de811effcb5376d0ec19094a. Upgrade Linux to 7458f72cc28f9eb0de811effcb5376d0ec19094a or later.

### How do I check if I'm affected by CVE-2025-68204?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/18249a167ffd91b4b4fbd92afd4ddcbf3af81f35>
- other: <https://git.kernel.org/stable/c/c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a>
- other: <https://git.kernel.org/stable/c/582f48d22eb5676fe7be3589b986ddd29f7bf4d1>
- other: <https://git.kernel.org/stable/c/7f569197f7ad09319af960bd7e43109de5c67c04>
- other: <https://git.kernel.org/stable/c/ad120c08b89a81d41d091490bbe150343473b659>
- other: <https://git.kernel.org/stable/c/921b090841ae7a08b19ab14495bdf8636dc31e21>
- other: <https://git.kernel.org/stable/c/983e91da82ec3e331600108f9be3ea61236f5c75>
- other: <https://git.kernel.org/stable/c/7458f72cc28f9eb0de811effcb5376d0ec19094a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68204>

HTML: <https://flawdb.com/CVE-2025-68204> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68204>
