CVE-2026-99035

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

State
Published
Severity
Not scored
Published
Oct 23, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 208489032bdd8d4a7de50f3057c175058f271956 to before d8ce81006ee4e42ce2d0bd3a2ab87adc1e24ef11Affected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before 2cff6a2a912a3464ae1fefb7e0a82393682ccea6Affected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before e5d82695f2cabca3222b8f6a89ea0e18bafc4c0aAffected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before 9e799f25c420e759641eb25102967ea091fc758fAffected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before f37e0367ad6f2147a0b37564b442b7a25bec0d23Affected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before 46e75703ca3f00fb8c935b3ce35b90836e34e8afAffected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before edef1355224c0799a502a46b71d3649fa0dd218eAffected
  • 208489032bdd8d4a7de50f3057c175058f271956 to before b38af5386a74416e898955443f2e26547b358cb2Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.2.11 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.