← Back to CVE Explorer

CVE-2026-93145

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:18:09.610000
Last modified
2026-10-19 10:17:04.627000
View original CVE JSON
{
  "id": "CVE-2026-93145",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:18:09.610",
  "lastModified": "2026-10-19T10:17:04.627",
  "vulnStatus": "Received",
  "cveTags": [],
  "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."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/clk/qcom/gdsc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "418d2f0a32b2a9ceb656a88aa9139408a9b7b517",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "6333cbf7e86df9797b342ce64ae7d32ba46d8d10",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "0f4733f5fc6b6b62750619f30c18730922a1dbdb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "6b9228a43963bcd4db92deb467375345132c29b3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "f60f495858379dc70e87c6898d761a9db98739ff",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "40bd77fa2857ccfa77b885b77d44cea406f24a4c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "45dd0e55317ccb27fe8eae639275c2b3a2fb52e5",
              "lessThan": "86b23609d5e17a770d03037e53c6a443e742a6e6",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/clk/qcom/gdsc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.4",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.4",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.52",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0f4733f5fc6b6b62750619f30c18730922a1dbdb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/40bd77fa2857ccfa77b885b77d44cea406f24a4c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/418d2f0a32b2a9ceb656a88aa9139408a9b7b517",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6333cbf7e86df9797b342ce64ae7d32ba46d8d10",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6b9228a43963bcd4db92deb467375345132c29b3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/86b23609d5e17a770d03037e53c6a443e742a6e6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f60f495858379dc70e87c6898d761a9db98739ff",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}