CVE-2025-68204

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

No CVSS score yet EPSS 0.23%

Published 16 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-68204

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68204 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before 18249a167ffd91b4b4fbd92afd4ddcbf3af81f35
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before 582f48d22eb5676fe7be3589b986ddd29f7bf4d1
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before 7f569197f7ad09319af960bd7e43109de5c67c04
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before ad120c08b89a81d41d091490bbe150343473b659
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before 921b090841ae7a08b19ab14495bdf8636dc31e21
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before 983e91da82ec3e331600108f9be3ea61236f5c75
affected from 898216c97ed2ebfffda659ce12388da43534de6c, before 7458f72cc28f9eb0de811effcb5376d0ec19094a
Other versions: unaffected
Linux
affected 4.17
unaffected before 4.17
unaffected from 5.4.302 up to and including 5.4.*
unaffected from 5.10.247 up to and including 5.10.*
unaffected from 5.15.197 up to and including 5.15.*
unaffected from 6.1.159 up to and including 6.1.*
unaffected from 6.6.118 up to and including 6.6.*
unaffected from 6.12.59 up to and including 6.12.*
unaffected from 6.17.9 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68204 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68204

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-68204
trivy image --scanners vuln IMAGE | grep CVE-2025-68204

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-68204 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.