mmc: core: Cancel SDIO IRQ work before freeing host
- 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.1.189, 6.6.158, 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: core: Cancel SDIO IRQ work before freeing host A host controller that uses sdio_signal_irq() schedules host->sdio_irq_work from its interrupt handler. That work is only cancelled on the suspend path (mmc_sdio_suspend()), not on the remove/free path, so a worker armed just before the controller freed its IRQ can run after mmc_host_classdev_release() has freed the host and dereference it through container_of(). Cancel host->sdio_irq_work in mmc_free_host(), like the existing host->detect drain added by commit 1036f69e2513 ("mmc: core: Cancel delayed work before releasing host"). This issue was found by an in-house static analysis tool.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 682696605c7093d2800c498c04166831e5aedf87 · fixed in bae1cf4f9902b2065bd78b759c7fe6312855f05e; From 682696605c7093d2800c498c04166831e5aedf87 · fixed in 0bf3d168a2cc20b120d6b50f0a8ac5b40ff4d589; From 682696605c7093d2800c498c04166831e5aedf87 · fixed in 1d6e7315ee1c992b4ca42c9b11c5ed0e925a00e0; From 682696605c7093d2800c498c04166831e5aedf87 · fixed in 4553b5004eca9c9eae29a421f1a9c4d5db2c9114; From 682696605c7093d2800c498c04166831e5aedf87 · fixed in 2a863458828ade0671c2bc2e469bbd7f2340eb03; From 682696605c7093d2800c498c04166831e5aedf87 · fixed in 6feadbecdae60a6324c967f3b1493741083793a3
- Linux Linux
4.13
- KernelLinux
From 4.13.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8