Katalog CVE

CVE-2026-89797

Nieznane
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W jądrze Linux w sterowniku ab8500_fg funkcja ab8500_fg_remove() niszczy kolejkę roboczą, podczas gdy wątkowane procedury obsługi przerwań są wciąż uzbrojone. Procedura obsługi, która uruchomi się w tym oknie, kolejkuje pracę na zwolnionej kolejce, powodując use-after-free. Poprawka niszczy kolejkę przez devm, rejestrując jej czyszczenie po zasilaczu i przed żądaniami przerwań.

Ocena ryzyka

Może wystąpić use-after-free w jądrze podczas usuwania sterownika ab8500_fg, prowadzący do niestabilności lub potencjalnej eskalacji uprawnień. Ryzyko dotyczy systemów z tym sterownikiem zasilania.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę zarządzania kolejką roboczą przez devm. Unikaj dynamicznego usuwania sterownika ab8500_fg do czasu aktualizacji.

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: power: supply: ab8500_fg: fix use-after-free on remove ab8500_fg_remove() destroys the driver workqueue while the threaded interrupt handlers are still armed; they are devm-managed and freed only after ->remove() returns, so a handler that fires in that window queues work on the freed workqueue. Tear the workqueue down through devm instead, registering its cleanup after the power supply and before the interrupt requests. devm then frees the interrupts first, so the handlers can no longer queue work, before disabling the delayed and plain work items and destroying the workqueue. Disabling the items, rather than cancelling them, keeps them disabled so no producer (including the power-supply external_power_changed callback) can requeue them. Found by an in-house static analysis tool.

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