{"api_version":"1","generated_at":"2026-09-17T23:58:37+00:00","cve":"CVE-2026-93145","urls":{"html":"https://cve.report/CVE-2026-93145","api":"https://cve.report/api/cve/CVE-2026-93145.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-93145","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-93145"},"summary":{"title":"clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()\n\ngdsc_unregister() removes the OF provider entry and tears down the\nparent/subdomain wiring, but never calls pm_genpd_remove() on the\nindividual generic_pm_domain structures registered by gdsc_init():\n\n\tvoid gdsc_unregister(struct gdsc_desc *desc)\n\t{\n\t\tstruct device *dev = desc->dev;\n\t\tsize_t num = desc->num;\n\n\t\tgdsc_pm_subdomain_remove(desc, num);\n\t\tof_genpd_del_provider(dev->of_node);\n\t}\n\nThat leaves dangling entries on the global gpd_list. After a provider\nunbind/rebind cycle (deferred-probe replay during early boot, real\nmodule unload of a clk driver that owns GDSCs, or an OF-overlay tear-\ndown) the next gdsc_init() will end up trying to re-register a name\nthat is still in the list and pm_genpd_init() returns -EEXIST.\n\nWhile we are here, flip the order so the consumer-facing OF provider\nentry is the first thing removed -- otherwise a fresh\nof_genpd_get_from_provider() call racing with the teardown could\nattach to a domain that is mid-removal.\n\nIterate the scs[] array and pm_genpd_remove() each registered domain\nafter the subdomain links are torn down. The regulators stay devm-\nmanaged (devm_regulator_get_optional() in gdsc_register()), so the\nrelease happens automatically when the underlying device is unbound;\njust the genpd accounting needs to be undone explicitly.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:18:09","updated_at":"2026-09-17 17:18:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/40bd77fa2857ccfa77b885b77d44cea406f24a4c","name":"https://git.kernel.org/stable/c/40bd77fa2857ccfa77b885b77d44cea406f24a4c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6333cbf7e86df9797b342ce64ae7d32ba46d8d10","name":"https://git.kernel.org/stable/c/6333cbf7e86df9797b342ce64ae7d32ba46d8d10","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24","name":"https://git.kernel.org/stable/c/cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6b9228a43963bcd4db92deb467375345132c29b3","name":"https://git.kernel.org/stable/c/6b9228a43963bcd4db92deb467375345132c29b3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/86b23609d5e17a770d03037e53c6a443e742a6e6","name":"https://git.kernel.org/stable/c/86b23609d5e17a770d03037e53c6a443e742a6e6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/418d2f0a32b2a9ceb656a88aa9139408a9b7b517","name":"https://git.kernel.org/stable/c/418d2f0a32b2a9ceb656a88aa9139408a9b7b517","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0f4733f5fc6b6b62750619f30c18730922a1dbdb","name":"https://git.kernel.org/stable/c/0f4733f5fc6b6b62750619f30c18730922a1dbdb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f60f495858379dc70e87c6898d761a9db98739ff","name":"https://git.kernel.org/stable/c/f60f495858379dc70e87c6898d761a9db98739ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-93145","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93145","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 418d2f0a32b2a9ceb656a88aa9139408a9b7b517 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 6333cbf7e86df9797b342ce64ae7d32ba46d8d10 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 0f4733f5fc6b6b62750619f30c18730922a1dbdb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 6b9228a43963bcd4db92deb467375345132c29b3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 f60f495858379dc70e87c6898d761a9db98739ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 40bd77fa2857ccfa77b885b77d44cea406f24a4c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 45dd0e55317ccb27fe8eae639275c2b3a2fb52e5 86b23609d5e17a770d03037e53c6a443e742a6e6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.270 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.221 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/clk/qcom/gdsc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"418d2f0a32b2a9ceb656a88aa9139408a9b7b517","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"6333cbf7e86df9797b342ce64ae7d32ba46d8d10","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"0f4733f5fc6b6b62750619f30c18730922a1dbdb","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"6b9228a43963bcd4db92deb467375345132c29b3","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"f60f495858379dc70e87c6898d761a9db98739ff","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"40bd77fa2857ccfa77b885b77d44cea406f24a4c","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"},{"lessThan":"86b23609d5e17a770d03037e53c6a443e742a6e6","status":"affected","version":"45dd0e55317ccb27fe8eae639275c2b3a2fb52e5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/clk/qcom/gdsc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.4"},{"lessThan":"4.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.270","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.221","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.270","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.221","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"4.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"4.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()\n\ngdsc_unregister() removes the OF provider entry and tears down the\nparent/subdomain wiring, but never calls pm_genpd_remove() on the\nindividual generic_pm_domain structures registered by gdsc_init():\n\n\tvoid gdsc_unregister(struct gdsc_desc *desc)\n\t{\n\t\tstruct device *dev = desc->dev;\n\t\tsize_t num = desc->num;\n\n\t\tgdsc_pm_subdomain_remove(desc, num);\n\t\tof_genpd_del_provider(dev->of_node);\n\t}\n\nThat leaves dangling entries on the global gpd_list. After a provider\nunbind/rebind cycle (deferred-probe replay during early boot, real\nmodule unload of a clk driver that owns GDSCs, or an OF-overlay tear-\ndown) the next gdsc_init() will end up trying to re-register a name\nthat is still in the list and pm_genpd_init() returns -EEXIST.\n\nWhile we are here, flip the order so the consumer-facing OF provider\nentry is the first thing removed -- otherwise a fresh\nof_genpd_get_from_provider() call racing with the teardown could\nattach to a domain that is mid-removal.\n\nIterate the scs[] array and pm_genpd_remove() each registered domain\nafter the subdomain links are torn down. The regulators stay devm-\nmanaged (devm_regulator_get_optional() in gdsc_register()), so the\nrelease happens automatically when the underlying device is unbound;\njust the genpd accounting needs to be undone explicitly."}],"providerMetadata":{"dateUpdated":"2026-09-17T16:11:43.421Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/418d2f0a32b2a9ceb656a88aa9139408a9b7b517"},{"url":"https://git.kernel.org/stable/c/6333cbf7e86df9797b342ce64ae7d32ba46d8d10"},{"url":"https://git.kernel.org/stable/c/cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24"},{"url":"https://git.kernel.org/stable/c/0f4733f5fc6b6b62750619f30c18730922a1dbdb"},{"url":"https://git.kernel.org/stable/c/6b9228a43963bcd4db92deb467375345132c29b3"},{"url":"https://git.kernel.org/stable/c/f60f495858379dc70e87c6898d761a9db98739ff"},{"url":"https://git.kernel.org/stable/c/40bd77fa2857ccfa77b885b77d44cea406f24a4c"},{"url":"https://git.kernel.org/stable/c/86b23609d5e17a770d03037e53c6a443e742a6e6"}],"title":"clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-93145","datePublished":"2026-09-17T16:11:43.421Z","dateReserved":"2026-09-17T16:02:15.088Z","dateUpdated":"2026-09-17T16:11:43.421Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:18:09","lastModifiedDate":"2026-09-17 17:18:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"93145","Ordinal":"1","Title":"clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister(","CVE":"CVE-2026-93145","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"93145","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()\n\ngdsc_unregister() removes the OF provider entry and tears down the\nparent/subdomain wiring, but never calls pm_genpd_remove() on the\nindividual generic_pm_domain structures registered by gdsc_init():\n\n\tvoid gdsc_unregister(struct gdsc_desc *desc)\n\t{\n\t\tstruct device *dev = desc->dev;\n\t\tsize_t num = desc->num;\n\n\t\tgdsc_pm_subdomain_remove(desc, num);\n\t\tof_genpd_del_provider(dev->of_node);\n\t}\n\nThat leaves dangling entries on the global gpd_list. After a provider\nunbind/rebind cycle (deferred-probe replay during early boot, real\nmodule unload of a clk driver that owns GDSCs, or an OF-overlay tear-\ndown) the next gdsc_init() will end up trying to re-register a name\nthat is still in the list and pm_genpd_init() returns -EEXIST.\n\nWhile we are here, flip the order so the consumer-facing OF provider\nentry is the first thing removed -- otherwise a fresh\nof_genpd_get_from_provider() call racing with the teardown could\nattach to a domain that is mid-removal.\n\nIterate the scs[] array and pm_genpd_remove() each registered domain\nafter the subdomain links are torn down. The regulators stay devm-\nmanaged (devm_regulator_get_optional() in gdsc_register()), so the\nrelease happens automatically when the underlying device is unbound;\njust the genpd accounting needs to be undone explicitly.","Type":"Description","Title":"clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister("}]}}}