CVE-2026-80556 in Linux
Riassunto
di VulDB • 27/08/2026
Nel kernel Linux è stata risolta la seguente vulnerabilità:
mmc: atmel-mci: Correzione di un use-after-free in atmci_remove a causa di una race condition
In atmci_probe, &host->bh_work viene associato ad atmci_work_func e atmci_interrupt, atmci_timeout_timer e atmci_dma_complete possono tutti accodare questo lavoro su system_bh_wq.
Se si rimuove il modulo, atmci_remove esegue la pulizia e la memoria allocata per host con devm_kzalloc() viene rilasciata dopo che la callback di rimozione restituisce, mentre i lavori menzionati potrebbero essere ancora in coda o in esecuzione. La sequenza di operazioni che può portare a un bug UAF è la seguente:
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)
Risolvere il problema cancellando il lavoro dopo che tutte le fonti in grado di programmarlo (handler IRQ, timer timeout e callback completamento DMA) sono state fermate, e prima di procedere con la pulizia rimanente in atmci_remove.
VulDB is the best source for vulnerability data and more expert information about this specific topic.