CVE-2026-99035: mmc: mtk-sd: Cancel request timeout work on remove

Published Oct 23, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mmc: mtk-sd: Cancel request timeout work on remove

The driver queues reqtimeout while a request is active. msdcrequestdone() uses canceldelayedwork(), which does not wait for a timeout callback that has already started.

The timeout callback calls mmcrequestdone(), which wakes the request waiter, and then continues to use host->devcomp and check the SDIO IRQ. During unbind, msdcdrvremove() can return and the managed mmchost can be freed before the callback finishes.

KASAN reported use-after-free accesses in msdcrequestdone() and msdcrechecksdioirq() in each of three unbind tests. The same tests completed without a kernel diagnostic after this change.

Call canceldelayedworksync() after mmcremovehost() has stopped new requests and before the driver releases the host resources.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In msdc_drv_remove(), call cancel_delayed_work_sync() after mmc_remove_host() to cancel and wait for the request-timeout callback before releasing host resources.

Event History

Oct 23, 2026
CVE Published
via MITRE·12:21 PM
Data Sourced
via MITRE·12:21 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203