Katalog CVE

CVE-2026-93145

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku clk qcom gdsc występuje problem z nieprawidłowym usuwaniem domen genpd podczas odrejestrowania. Funkcja gdsc_unregister() nie wywołuje pm_genpd_remove() dla zarejestrowanych domen, co prowadzi do pozostawienia wpisów na globalnej liście i błędów przy ponownej rejestracji.

Ocena ryzyka

Może to powodować problemy z ponownym ładowaniem sterowników lub nakładkami, prowadząc do awarii lub nieprawidłowego działania zegarów, co może wpłynąć na stabilność systemu.

Rekomendacja

Zastosować poprawkę jądra, która dodaje wywołanie pm_genpd_remove() dla każdej zarejestrowanej domeny w gdsc_unregister() oraz zmienia kolejność usuwania wpisu OF provider.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS