{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98212","id":"CVE-2026-98212","title":"mmc: hsq: Fix use-after-free in retry work","description":"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 theref","descriptionLong":"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.","published":"2026-10-06T08:44:48.498Z","updated":"2026-11-19T17:27:50.594743337Z","reserved":"2026-09-25T10:25:14.325Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6db96e5810e0a6a345b7d78549de7676ae5b2662","lessThan":"c50d6515bffb148c2c12be6d587ec201dfab4c34","status":"affected","versionType":"git"},{"version":"6db96e5810e0a6a345b7d78549de7676ae5b2662","lessThan":"df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67","status":"affected","versionType":"git"},{"version":"6db96e5810e0a6a345b7d78549de7676ae5b2662","lessThan":"8439bf262ce3267bcfee29d3c61605f1731a2271","status":"affected","versionType":"git"},{"version":"6db96e5810e0a6a345b7d78549de7676ae5b2662","lessThan":"45341b341642c377192c95e4d48e0a859cf85f42","status":"affected","versionType":"git"},{"version":"6db96e5810e0a6a345b7d78549de7676ae5b2662","lessThan":"5d132990475f02cfa1debe03d50b479432864ebd","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.54","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c50d6515bffb148c2c12be6d587ec201dfab4c34","tags":["web"]},{"url":"https://git.kernel.org/stable/c/df2eb59fd9eb33663dc1053f5a4ed851e0aa1f67","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8439bf262ce3267bcfee29d3c61605f1731a2271","tags":["web"]},{"url":"https://git.kernel.org/stable/c/45341b341642c377192c95e4d48e0a859cf85f42","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5d132990475f02cfa1debe03d50b479432864ebd","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98212.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98212","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00206,"epssPercentile":0.10682,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98212","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98212","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98212","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98212","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}