CVE-2026-99035
mmc: mtk-sd: Cancel request timeout work on remove
Fetching some sources has been requested. Reload in about a minute to see them.
Description
In the Linux kernel, the following vulnerability has been resolved: mmc: mtk-sd: Cancel request timeout work on remove The driver queues req_timeout while a request is active. msdc_request_done() uses cancel_delayed_work(), which does not wait for a timeout callback that has already started. The timeout callback calls mmc_request_done(), which wakes the request waiter, and then continues to use host->dev_comp and check the SDIO IRQ. During unbind, msdc_drv_remove() can return and the managed mmc_host can be freed before the callback finishes. KASAN reported use-after-free accesses in msdc_request_done() and msdc_recheck_sdio_irq() in each of three unbind tests. The same tests completed without a kernel diagnostic after this change. Call cancel_delayed_work_sync() after mmc_remove_host() has stopped new requests and before the driver releases the host resources.
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: 208489032bdd8d4a7de50f3057c175058f271956 … < 9e799f25c420e759641eb25102967ea091fc758f affected: 208489032bdd8d4a7de50f3057c175058f271956 … < f37e0367ad6f2147a0b37564b442b7a25bec0d23 affected: 208489032bdd8d4a7de50f3057c175058f271956 … < 46e75703ca3f00fb8c935b3ce35b90836e34e8af affected: 208489032bdd8d4a7de50f3057c175058f271956 … < edef1355224c0799a502a46b71d3649fa0dd218e affected: 208489032bdd8d4a7de50f3057c175058f271956 … < b38af5386a74416e898955443f2e26547b358cb2 default: unaffected |
| Linux | Linux | affected: 4.2 unaffected: 0 … < 4.2 unaffected: 6.6.160 … <= 6.6.* unaffected: 6.12.113 … <= 6.12.* unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
mmc: mtk-sd: Cancel request timeout work on remove
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= 208489032bdd8d4a7de50f3057c175058f271956, < 9e799f25c420e759641eb25102967ea091fc758f; < f37e0367ad6f2147a0b37564b442b7a25bec0d23; < 46e75703ca3f00fb8c935b3ce35b90836e34e8af; < edef1355224c0799a502a46b71d3649fa0dd218e; < b38af5386a74416e898955443f2e26547b358cb2 | 9e799f25c420e759641eb25102967ea091fc758f, f37e0367ad6f2147a0b37564b442b7a25bec0d23, 46e75703ca3f00fb8c935b3ce35b90836e34e8af, edef1355224c0799a502a46b71d3649fa0dd218e, b38af5386a74416e898955443f2e26547b358cb2 | ||
| Linux | Kernel | >= 4.2.0, < 6.6.160; >= 6.7.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.11 | 6.6.160, 6.12.113, 6.18.57, 7.2.11 |
Linux distribution status
References (8)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/46e75703ca3f00fb8c935b3ce35b90836e34e8af NVD, CNA, OSV
- https://git.kernel.org/stable/c/9e799f25c420e759641eb25102967ea091fc758f NVD, CNA, OSV
- https://git.kernel.org/stable/c/b38af5386a74416e898955443f2e26547b358cb2 NVD, CNA, OSV
- https://git.kernel.org/stable/c/edef1355224c0799a502a46b71d3649fa0dd218e NVD, CNA, OSV
- https://git.kernel.org/stable/c/f37e0367ad6f2147a0b37564b442b7a25bec0d23 NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99035.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-99035 OSV