mmc: mmci: Fix use-after-free in busy-timeout work
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.112, 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: mmc: mmci: Fix use-after-free in busy-timeout work ux500_busy_complete() can queue ux500_busy_timeout_work for an R1b command, but mmci_remove() never cancels it. The work can subsequently dereference the devm-allocated mmci_host 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b1a665932dc23cad0b8af2745cd9713f9e930d63 · fixed in af6fbf72e899932f330c4e5d0b84d985c922c633; From b1a665932dc23cad0b8af2745cd9713f9e930d63 · fixed in 7fecf79f31568de161be14911db10d1251617b01; From b1a665932dc23cad0b8af2745cd9713f9e930d63 · fixed in 432b98c1f5daecf04a33c8e1688d26e7ac221e23; From b1a665932dc23cad0b8af2745cd9713f9e930d63 · fixed in 2b19cf3e50cddaff07b657dae1a8f30f06032852
- Linux Linux
6.5
- KernelLinux
From 6.5.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8