{"id":"CVE-2026-99035","aliases":["CVE-2026-99035"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: mtk-sd: Cancel request timeout work on remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mtk-sd: Cancel request timeout work on remove\n\nThe driver queues req_timeout while a request is active.\nmsdc_request_done() uses cancel_delayed_work(), which does not wait for\na timeout callback that has already started.\n\nThe timeout callback calls mmc_request_done(), which wakes the request\nwaiter, and then continues to use host->dev_comp and check the SDIO IRQ.\nDuring unbind, msdc_drv_remove() can return and the managed mmc_host can\nbe freed before the callback finishes.\n\nKASAN reported use-after-free accesses in msdc_request_done() and\nmsdc_recheck_sdio_irq() in each of three unbind tests.  The same tests\ncompleted without a kernel diagnostic after this change.\n\nCall cancel_delayed_work_sync() after mmc_remove_host() has stopped new\nrequests and before the driver releases the host resources.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mtk-sd: Cancel request timeout work on remove\n\nThe driver queues req_timeout while a request is active.\nmsdc_request_done() uses cancel_delayed_work(), which does not wait for\na timeout callback that has already started.\n\nThe timeout callback calls mmc_request_done(), which wakes the request\nwaiter, and then continues to use host->dev_comp and check the SDIO IRQ.\nDuring unbind, msdc_drv_remove() can return and the managed mmc_host can\nbe freed before the callback finishes.\n\nKASAN reported use-after-free accesses in msdc_request_done() and\nmsdc_recheck_sdio_irq() in each of three unbind tests.  The same tests\ncompleted without a kernel diagnostic after this change.\n\nCall cancel_delayed_work_sync() after mmc_remove_host() has stopped new\nrequests and before the driver releases the host resources.","source":"cvelist"}],"published":"2026-10-23T12:21:44.522Z","modified":"2026-10-30T13:21:40.553Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"d8ce81006ee4e42ce2d0bd3a2ab87adc1e24ef11","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"2cff6a2a912a3464ae1fefb7e0a82393682ccea6","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"e5d82695f2cabca3222b8f6a89ea0e18bafc4c0a","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"9e799f25c420e759641eb25102967ea091fc758f","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"f37e0367ad6f2147a0b37564b442b7a25bec0d23","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"46e75703ca3f00fb8c935b3ce35b90836e34e8af","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"edef1355224c0799a502a46b71d3649fa0dd218e","status":"affected"},{"type":"git","introduced":"208489032bdd8d4a7de50f3057c175058f271956","fixed":"b38af5386a74416e898955443f2e26547b358cb2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d8ce81006ee4e42ce2d0bd3a2ab87adc1e24ef11","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cff6a2a912a3464ae1fefb7e0a82393682ccea6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5d82695f2cabca3222b8f6a89ea0e18bafc4c0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e799f25c420e759641eb25102967ea091fc758f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f37e0367ad6f2147a0b37564b442b7a25bec0d23","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46e75703ca3f00fb8c935b3ce35b90836e34e8af","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/edef1355224c0799a502a46b71d3649fa0dd218e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b38af5386a74416e898955443f2e26547b358cb2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99035","url":"https://www.cve.org/CVERecord?id=CVE-2026-99035","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:08.346Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99035","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99035","licence":"Public domain","modified":"2026-10-30T13:21:40.553Z"}],"updatedAt":"2026-11-25T22:59:46.955Z","epss":{"score":0.00211,"percentile":0.12018,"date":"2026-12-01T12:00:22.000Z"}}