{"id":"CVE-2026-99035","summary":"mmc: mtk-sd: Cancel request timeout work on remove","details":"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-\u003edev_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.","modified":"2026-11-06T17:27:20.001060903Z","published":"2026-10-23T12:21:44.522Z","related":["SUSE-SU-2026:24550-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99035.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2cff6a2a912a3464ae1fefb7e0a82393682ccea6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46e75703ca3f00fb8c935b3ce35b90836e34e8af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e799f25c420e759641eb25102967ea091fc758f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b38af5386a74416e898955443f2e26547b358cb2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8ce81006ee4e42ce2d0bd3a2ab87adc1e24ef11"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5d82695f2cabca3222b8f6a89ea0e18bafc4c0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/edef1355224c0799a502a46b71d3649fa0dd218e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f37e0367ad6f2147a0b37564b442b7a25bec0d23"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99035.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99035"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"208489032bdd8d4a7de50f3057c175058f271956"},{"fixed":"d8ce81006ee4e42ce2d0bd3a2ab87adc1e24ef11"},{"fixed":"2cff6a2a912a3464ae1fefb7e0a82393682ccea6"},{"fixed":"e5d82695f2cabca3222b8f6a89ea0e18bafc4c0a"},{"fixed":"9e799f25c420e759641eb25102967ea091fc758f"},{"fixed":"f37e0367ad6f2147a0b37564b442b7a25bec0d23"},{"fixed":"46e75703ca3f00fb8c935b3ce35b90836e34e8af"},{"fixed":"edef1355224c0799a502a46b71d3649fa0dd218e"},{"fixed":"b38af5386a74416e898955443f2e26547b358cb2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99035.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99035.json"}}],"schema_version":"1.9.2"}