{"id":"CVE-2025-68204","aliases":["CVE-2025-68204"],"related":[],"kind":"vulnerability","state":"published","title":"pmdomain: arm: scmi: Fix genpd leak on provider registration failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npmdomain: arm: scmi: Fix genpd leak on provider registration failure\n\nIf of_genpd_add_provider_onecell() fails during probe, the previously\ncreated generic power domains are not removed, leading to a memory leak\nand potential kernel crash later in genpd_debug_add().\n\nAdd proper error handling to unwind the initialized domains before\nreturning from probe to ensure all resources are correctly released on\nfailure.\n\nExample crash trace observed without this fix:\n\n  | Unable to handle kernel paging request at virtual address fffffffffffffc70\n  | CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.18.0-rc1 #405 PREEMPT\n  | Hardware name: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform\n  | pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n  | pc : genpd_debug_add+0x2c/0x160\n  | lr : genpd_debug_init+0x74/0x98\n  | Call trace:\n  |  genpd_debug_add+0x2c/0x160 (P)\n  |  genpd_debug_init+0x74/0x98\n  |  do_one_initcall+0xd0/0x2d8\n  |  do_initcall_level+0xa0/0x140\n  |  do_initcalls+0x60/0xa8\n  |  do_basic_setup+0x28/0x40\n  |  kernel_init_freeable+0xe8/0x170\n  |  kernel_init+0x2c/0x140\n  |  ret_from_fork+0x10/0x20","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npmdomain: arm: scmi: Fix genpd leak on provider registration failure\n\nIf of_genpd_add_provider_onecell() fails during probe, the previously\ncreated generic power domains are not removed, leading to a memory leak\nand potential kernel crash later in genpd_debug_add().\n\nAdd proper error handling to unwind the initialized domains before\nreturning from probe to ensure all resources are correctly released on\nfailure.\n\nExample crash trace observed without this fix:\n\n  | Unable to handle kernel paging request at virtual address fffffffffffffc70\n  | CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.18.0-rc1 #405 PREEMPT\n  | Hardware name: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform\n  | pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n  | pc : genpd_debug_add+0x2c/0x160\n  | lr : genpd_debug_init+0x74/0x98\n  | Call trace:\n  |  genpd_debug_add+0x2c/0x160 (P)\n  |  genpd_debug_init+0x74/0x98\n  |  do_one_initcall+0xd0/0x2d8\n  |  do_initcall_level+0xa0/0x140\n  |  do_initcalls+0x60/0xa8\n  |  do_basic_setup+0x28/0x40\n  |  kernel_init_freeable+0xe8/0x170\n  |  kernel_init+0x2c/0x140\n  |  ret_from_fork+0x10/0x20","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\npmdomain: arm: scmi: Corrección de fuga de genpd en caso de fallo en el registro del proveedor\n\nSi of_genpd_add_provider_onecell() falla durante la sonda, los dominios de energía genéricos creados previamente no se eliminan, lo que lleva a una fuga de memoria y a un posible fallo del kernel más tarde en genpd_debug_add().\n\nAñadir un manejo de errores adecuado para deshacer los dominios inicializados antes de regresar de la sonda para asegurar que todos los recursos se liberen correctamente en caso de fallo.\n\nEjemplo de traza de fallo observado sin esta corrección:\n\n  | No se puede manejar la solicitud de paginación del kernel en la dirección virtual fffffffffffffc70\n  | CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.18.0-rc1 #405 PREEMPT\n  | Nombre del hardware: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform\n  | pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n  | pc : genpd_debug_add+0x2c/0x160\n  | lr : genpd_debug_init+0x74/0x98\n  | Traza de llamada:\n  |  genpd_debug_add+0x2c/0x160 (P)\n  |  genpd_debug_init+0x74/0x98\n  |  do_one_initcall+0xd0/0x2d8\n  |  do_initcall_level+0xa0/0x140\n  |  do_initcalls+0x60/0xa8\n  |  do_basic_setup+0x28/0x40\n  |  kernel_init_freeable+0xe8/0x170\n  |  kernel_init+0x2c/0x140\n  |  ret_from_fork+0x10/0x20","source":"nvd"}],"published":"2025-12-16T13:48:31.850Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"18249a167ffd91b4b4fbd92afd4ddcbf3af81f35","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"582f48d22eb5676fe7be3589b986ddd29f7bf4d1","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"7f569197f7ad09319af960bd7e43109de5c67c04","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"ad120c08b89a81d41d091490bbe150343473b659","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"921b090841ae7a08b19ab14495bdf8636dc31e21","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"983e91da82ec3e331600108f9be3ea61236f5c75","status":"affected"},{"type":"git","introduced":"898216c97ed2ebfffda659ce12388da43534de6c","fixed":"7458f72cc28f9eb0de811effcb5376d0ec19094a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"5.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.118","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.9","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/18249a167ffd91b4b4fbd92afd4ddcbf3af81f35","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6e11d320fd6cbaef6d589f2fcb45aa25a6b960a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/582f48d22eb5676fe7be3589b986ddd29f7bf4d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f569197f7ad09319af960bd7e43109de5c67c04","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad120c08b89a81d41d091490bbe150343473b659","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/921b090841ae7a08b19ab14495bdf8636dc31e21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/983e91da82ec3e331600108f9be3ea61236f5c75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7458f72cc28f9eb0de811effcb5376d0ec19094a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68204","url":"https://www.cve.org/CVERecord?id=CVE-2025-68204","licence":"CVE Terms of Use","modified":"2026-05-11T21:48:43.753Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68204","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68204","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.492Z","epss":{"score":0.00227,"percentile":0.14312,"date":"2026-12-01T12:00:22.000Z"}}