CVE-2026-98212
mmc: hsq: Fix use-after-free in retry work
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: mmc: hsq: Fix use-after-free in retry work mmc_hsq_pump_requests() queues retry_work when request_atomic() returns -EBUSY; today sdhci-sprd is the only consumer that implements request_atomic(). The work is embedded in a devm-allocated mmc_hsq, but is never cancelled during driver removal. Work still pending at unbind can therefore run after the devm allocation has been released and dereference hsq->mmc and hsq->mrq. Use devm_work_autocancel() to cancel and drain retry_work before the devm allocation is released. By the time devres cleanup begins, mmc_remove_host() has already stopped the host, so no new requests can arm the work. This issue was found by an in-house static analysis tool.
EPSS 0.21% · 10.6th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6db96e5810e0a6a345b7d78549de7676ae5b2662, 6db96e5810e0a6a345b7d78549de7676ae5b2662, 6db96e5810e0a6a345b7d78549de7676ae5b2662 |
| Linux | Linux | 5.8, 0, 6.6.158 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
| Linux | Linux | 6db96e5810e0a6a345b7d78549de7676ae5b2662, 6db96e5810e0a6a345b7d78549de7676ae5b2662, 6db96e5810e0a6a345b7d78549de7676ae5b2662 |
| Linux | Linux kernel |
Timeline
- Oct 6, 2026 EPSS Score (7 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98212
vulnetix vdb fixes CVE-2026-98212
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98212/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart