Katalog CVE

CVE-2026-80556

WysokieCVSS 7.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.13%

Percentyl 2 - wyżej niż 2% wszystkich znanych CVE

Streszczenie

W jądrze Linux w sterowniku mmc: atmel-mci wykryto podatność use-after-free (UAF) w funkcji atmci_remove, wynikającą z wyścigu (race condition). Praca (work) host->bh_work może być kolejkowana przez przerwanie, timer lub zakończenie DMA, a po usunięciu modułu pamięć hosta jest zwalniana, zanim praca się zakończy, co prowadzi do użycia zwolnionej pamięci.

Ocena ryzyka

Atakujący z dostępem do interfejsu MMC (np. przez wymienną kartę pamięci) może doprowadzić do naruszenia integralności pamięci jądra, co może skutkować eskalacją uprawnień, wyciekiem informacji lub awarią systemu (panika jądra).

Rekomendacja

Zastosuj oficjalną łatkę z jądra Linux, która anuluje pracę (cancel_work) po zatrzymaniu wszystkich źródeł ją wyzwalających (IRQ, timer, DMA) przed zwolnieniem zasobów. Zaktualizuj system do wersji jądra zawierającej poprawkę.

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: mmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition In atmci_probe, &host->bh_work is bound with atmci_work_func, and atmci_interrupt, atmci_timeout_timer and atmci_dma_complete can all queue this work on system_bh_wq. If we remove the module, atmci_remove makes cleanup and the memory allocated for host with devm_kzalloc() is released after the remove callback returns, while the work mentioned above may still be pending or running. The sequence of operations that may lead to a UAF bug is as follows: CPU0 CPU1 | atmci_interrupt | queue_work(system_bh_wq, | &host->bh_work) atmci_remove | atmci_cleanup_slot(...) | atmci_writel(host, ATMCI_IDR, ~0UL) | timer_delete_sync(&host->timer) | dma_release_channel(host->dma.chan) | free_irq(platform_get_irq(pdev, 0), host) | | atmci_work_func | // use host // devm resources released after | // remove returns, host is freed | | // use host (use-after-free) Fix it by canceling the work after all the sources that can schedule it (IRQ handler, timeout timer and DMA completion callback) have been stopped, and before proceeding with the remaining cleanup in atmci_remove.

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