mmc: core: Cancel SDIO IRQ work before freeing host
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bae1cf4f9902b2065bd78b759c7fe6312855f05e, Kernel 0bf3d168a2cc20b120d6b50f0a8ac5b40ff4d589, Kernel 1d6e7315ee1c992b4ca42c9b11c5ed0e925a00e0 and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=682696605c7093d2800c498c04166831e5aedf87 <bae1cf4f9902b2065bd78b759c7fe6312855f05e, >=682696605c7093d2800c498c04166831e5aedf87 <0bf3d168a2cc20b120d6b50f0a8ac5b40ff4d589, >=682696605c7093d2800c498c04166831e5aedf87 <1d6e7315ee1c992b4ca42c9b11c5ed0e925a00e0, >=682696605c7093d2800c498c04166831e5aedf87 <2a863458828ade0671c2bc2e469bbd7f2340eb03, >=682696605c7093d2800c498c04166831e5aedf87 <4553b5004eca9c9eae29a421f1a9c4d5db2c9114, >=682696605c7093d2800c498c04166831e5aedf87 <6feadbecdae60a6324c967f3b1493741083793a3, =4.13 | bae1cf4f9902b2065bd78b759c7fe6312855f05e, 0bf3d168a2cc20b120d6b50f0a8ac5b40ff4d589, 1d6e7315ee1c992b4ca42c9b11c5ed0e925a00e0, 2a863458828ade0671c2bc2e469bbd7f2340eb03, 4553b5004eca9c9eae29a421f1a9c4d5db2c9114, 6feadbecdae60a6324c967f3b1493741083793a3 |
| linux-kernel: Kernel | >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=4.13.0 <6.1.189 | 6.18.54, 7.2.8, 6.6.158, 6.12.112, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket