CVE-2026-93145

clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

Description

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

clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()

gdsc_unregister() removes the OF provider entry and tears down the parent/subdomain wiring, but never calls pm_genpd_remove() on the individual generic_pm_domain structures registered by gdsc_init():

void gdsc_unregister(struct gdsc_desc *desc) { struct device *dev = desc->dev; size_t num = desc->num;

gdsc_pm_subdomain_remove(desc, num); of_genpd_del_provider(dev->of_node); }

That leaves dangling entries on the global gpd_list. After a provider unbind/rebind cycle (deferred-probe replay during early boot, real module unload of a clk driver that owns GDSCs, or an OF-overlay tear- down) the next gdsc_init() will end up trying to re-register a name that is still in the list and pm_genpd_init() returns -EEXIST.

While we are here, flip the order so the consumer-facing OF provider entry is the first thing removed -- otherwise a fresh of_genpd_get_from_provider() call racing with the teardown could attach to a domain that is mid-removal.

Iterate the scs[] array and pm_genpd_remove() each registered domain after the subdomain links are torn down. The regulators stay devm- managed (devm_regulator_get_optional() in gdsc_register()), so the release happens automatically when the underlying device is unbound; just the genpd accounting needs to be undone explicitly.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before 418d2f0a32b2a9ceb656a88aa9139408a9b7b517Affected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before 6333cbf7e86df9797b342ce64ae7d32ba46d8d10Affected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24Affected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before 0f4733f5fc6b6b62750619f30c18730922a1dbdbAffected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before 6b9228a43963bcd4db92deb467375345132c29b3Affected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before f60f495858379dc70e87c6898d761a9db98739ffAffected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before 40bd77fa2857ccfa77b885b77d44cea406f24a4cAffected
  • 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 to before 86b23609d5e17a770d03037e53c6a443e742a6e6Affected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.