# CVE-2026-98212: mmc: hsq: Fix use-after-free in retry work

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:44:48.498Z
- **Modified:** 2026-11-23T08:17:24.583Z

## Who should check

- Anyone running Linux \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< a59591ed641f1a5610019d99ff657d33c25ad426; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< c50d6515bffb148c2c12be6d587ec201dfab4c34; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< 8439bf262ce3267bcfee29d3c61605f1731a2271; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< 45341b341642c377192c95e4d48e0a859cf85f42; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< 5d132990475f02cfa1debe03d50b479432864ebd
- Anyone running Linux 5.8

## 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

- Linux: \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< a59591ed641f1a5610019d99ff657d33c25ad426; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< c50d6515bffb148c2c12be6d587ec201dfab4c34; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< 8439bf262ce3267bcfee29d3c61605f1731a2271; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< 45341b341642c377192c95e4d48e0a859cf85f42; \>= 6db96e5810e0a6a345b7d78549de7676ae5b2662, \< 5d132990475f02cfa1debe03d50b479432864ebd (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 5d132990475f02cfa1debe03d50b479432864ebd or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/a59591ed641f1a5610019d99ff657d33c25ad426>
- other: <https://git.kernel.org/stable/c/c50d6515bffb148c2c12be6d587ec201dfab4c34>
- other: <https://git.kernel.org/stable/c/df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67>
- other: <https://git.kernel.org/stable/c/8439bf262ce3267bcfee29d3c61605f1731a2271>
- other: <https://git.kernel.org/stable/c/45341b341642c377192c95e4d48e0a859cf85f42>
- other: <https://git.kernel.org/stable/c/5d132990475f02cfa1debe03d50b479432864ebd>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98212>

HTML: <https://flawdb.com/CVE-2026-98212> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98212>
