{"id":"CVE-2026-98212","published":"2026-10-06T08:44:48Z","modified":"2026-11-23T07:59:38Z","title":"mmc: hsq: Fix use-after-free in retry work","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: hsq: Fix use-after-free in retry work\n\nmmc_hsq_pump_requests() queues retry_work when request_atomic() returns\n-EBUSY; today sdhci-sprd is the only consumer that implements\nrequest_atomic(). The work is embedded in a devm-allocated mmc_hsq, but\nis never cancelled during driver removal. Work still pending at unbind\ncan therefore run after the devm allocation has been released and\ndereference hsq->mmc and hsq->mrq.\n\nUse devm_work_autocancel() to cancel and drain retry_work before the devm\nallocation is released. By the time devres cleanup begins,\nmmc_remove_host() has already stopped the host, so no new requests can\narm the work.\n\nThis issue was found by an in-house static analysis tool.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.06848,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a59591ed641f1a5610019d99ff657d33c25ad426","tags":[]},{"url":"https://git.kernel.org/stable/c/c50d6515bffb148c2c12be6d587ec201dfab4c34","tags":[]},{"url":"https://git.kernel.org/stable/c/df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67","tags":[]},{"url":"https://git.kernel.org/stable/c/8439bf262ce3267bcfee29d3c61605f1731a2271","tags":[]},{"url":"https://git.kernel.org/stable/c/45341b341642c377192c95e4d48e0a859cf85f42","tags":[]},{"url":"https://git.kernel.org/stable/c/5d132990475f02cfa1debe03d50b479432864ebd","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < a59591ed641f1a5610019d99ff657d33c25ad426",">= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < c50d6515bffb148c2c12be6d587ec201dfab4c34",">= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67",">= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 8439bf262ce3267bcfee29d3c61605f1731a2271",">= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 45341b341642c377192c95e4d48e0a859cf85f42",">= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 5d132990475f02cfa1debe03d50b479432864ebd"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"euvd":{"id":"EUVD-2026-93140","exploited":false,"provenance":"source"}}