{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-93145",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-93145"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister()",
  "details": "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": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-93145"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/418d2f0a32b2a9ceb656a88aa9139408a9b7b517"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6333cbf7e86df9797b342ce64ae7d32ba46d8d10"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cfe16d993c578f6b17e0171a8dfd68f6fdfcfb24"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0f4733f5fc6b6b62750619f30c18730922a1dbdb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6b9228a43963bcd4db92deb467375345132c29b3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f60f495858379dc70e87c6898d761a9db98739ff"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/40bd77fa2857ccfa77b885b77d44cea406f24a4c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/86b23609d5e17a770d03037e53c6a443e742a6e6"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
