CVE-2026-98212
mmc: hsq: Fix use-after-free in retry work
Mitigation
- Upgrade Linux to 5d132990475f02cfa1debe03d50b479432864ebd or later.
Who should check
- Anyone running Linux >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < a59591ed641f1a5610019d99ff657d33c25ad426; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < c50d6515bffb148c2c12be6d587ec201dfab4c34; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 8439bf262ce3267bcfee29d3c61605f1731a2271; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 45341b341642c377192c95e4d48e0a859cf85f42; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 5d132990475f02cfa1debe03d50b479432864ebd
- Anyone running Linux 5.8
Vulnerability facts
- Affected
- Linux >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < a59591ed641f1a5610019d99ff657d33c25ad426; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < c50d6515bffb148c2c12be6d587ec201dfab4c34; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 8439bf262ce3267bcfee29d3c61605f1731a2271; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 45341b341642c377192c95e4d48e0a859cf85f42; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 5d132990475f02cfa1debe03d50b479432864ebd; Linux 5.8
- Fixed in
- Linux 8439bf262ce3267bcfee29d3c61605f1731a2271, Linux 45341b341642c377192c95e4d48e0a859cf85f42, Linux 5d132990475f02cfa1debe03d50b479432864ebd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < a59591ed641f1a5610019d99ff657d33c25ad426; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < c50d6515bffb148c2c12be6d587ec201dfab4c34; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 8439bf262ce3267bcfee29d3c61605f1731a2271; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 45341b341642c377192c95e4d48e0a859cf85f42; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 5d132990475f02cfa1debe03d50b479432864ebd | — | cvelist |
| Linux | 5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98212. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98212.md Affected: Linux >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < a59591ed641f1a5610019d99ff657d33c25ad426; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < c50d6515bffb148c2c12be6d587ec201dfab4c34; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; >= 6db96e5810e0a6a345b7d78… Fixed in: Linux 8439bf262ce3267bcfee29d3c61605f1731a2271, Linux 45341b341642c377192c95e4d48e0a859cf85f42, Linux 5d132990475f02cfa1debe03d50b479432864ebd Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/a59591ed641f1a5610019d99ff657d33c25ad426
- https://git.kernel.org/stable/c/c50d6515bffb148c2c12be6d587ec201dfab4c34
- https://git.kernel.org/stable/c/df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67
- https://git.kernel.org/stable/c/8439bf262ce3267bcfee29d3c61605f1731a2271
- https://git.kernel.org/stable/c/45341b341642c377192c95e4d48e0a859cf85f42
- https://git.kernel.org/stable/c/5d132990475f02cfa1debe03d50b479432864ebd
FAQ
Is CVE-2026-98212 being exploited?
There is no confirmed exploitation: CVE-2026-98212 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98212?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98212?
Linux >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < a59591ed641f1a5610019d99ff657d33c25ad426; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < c50d6515bffb148c2c12be6d587ec201dfab4c34; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 8439bf262ce3267bcfee29d3c61605f1731a2271; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 45341b341642c377192c95e4d48e0a859cf85f42; >= 6db96e5810e0a6a345b7d78549de7676ae5b2662, < 5d132990475f02cfa1debe03d50b479432864ebd; Linux 5.8.
Is there a fix for CVE-2026-98212?
Yes. Fixed in Linux 8439bf262ce3267bcfee29d3c61605f1731a2271, Linux 45341b341642c377192c95e4d48e0a859cf85f42, Linux 5d132990475f02cfa1debe03d50b479432864ebd. Upgrade Linux to 5d132990475f02cfa1debe03d50b479432864ebd or later.
How do I check if I'm affected by CVE-2026-98212?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.