CVE-2026-98212
mmc: hsq: Fix use-after-free in retry work
Check your servers for CVE-2026-98212
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98212 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.76% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6db96e5810e0a6a345b7d78549de7676ae5b2662, before a59591ed641f1a5610019d99ff657d33c25ad426 affected from 6db96e5810e0a6a345b7d78549de7676ae5b2662, before c50d6515bffb148c2c12be6d587ec201dfab4c34 affected from 6db96e5810e0a6a345b7d78549de7676ae5b2662, before df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67 affected from 6db96e5810e0a6a345b7d78549de7676ae5b2662, before 8439bf262ce3267bcfee29d3c61605f1731a2271 affected from 6db96e5810e0a6a345b7d78549de7676ae5b2662, before 45341b341642c377192c95e4d48e0a859cf85f42 affected from 6db96e5810e0a6a345b7d78549de7676ae5b2662, before 5d132990475f02cfa1debe03d50b479432864ebd
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98212 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98212
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98212
trivy image --scanners vuln IMAGE | grep CVE-2026-98212
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a59591ed641f1a5610019d99ff657d33c25ad426 git.kernel.org
- https://git.kernel.org/stable/c/c50d6515bffb148c2c12be6d587ec201dfab4c34 git.kernel.org
- https://git.kernel.org/stable/c/df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67 git.kernel.org
- https://git.kernel.org/stable/c/8439bf262ce3267bcfee29d3c61605f1731a2271 git.kernel.org
- https://git.kernel.org/stable/c/45341b341642c377192c95e4d48e0a859cf85f42 git.kernel.org
- https://git.kernel.org/stable/c/5d132990475f02cfa1debe03d50b479432864ebd git.kernel.org
Source: the record CVE-2026-98212 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse