CVE-2026-98211: mmc: mmci: Fix use-after-free in busy-timeout work
In the Linux kernel, the following vulnerability has been resolved:
mmc: mmci: Fix use-after-free in busy-timeout work
ux500busycomplete() can queue ux500busytimeoutwork for an R1b command, but mmciremove() never cancels it. The work can subsequently dereference the devm-allocated mmcihost after it has been released.
Mask the controller interrupts and disable the delayed work during removal. This drains any queued instance and stops an IRQ handler that is still in progress from queueing the work again once it has been disabled.
This issue was found by an in-house static analysis tool.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
During mmci removal, mask the controller interrupts and disable the delayed work to prevent queued work or an in-progress IRQ handler from accessing the released mmci_host.
Linux kernel mmci controller interrupts and delayed work during removal = masked and disabled