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.
Published: 2026-10-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel crash leading to a denial of service
Action: Patch
AI Analysis

Impact

In the Linux kernel, a use‑after‑free occurs in the MMC hsq subsystem when the sdhci‑sprd driver schedules a retry work item that remains pending during driver removal. The retry work is allocated with devm and is not canceled, so it can run after the devm memory has been freed, dereferencing pointers that no longer exist and causing a kernel panic. This crash can abruptly terminate user‑space processes and render the operating system unusable. Based on the description, it is inferred that an attacker needs the ability to unload or restart the affected driver, a capability typically restricted to privileged users.

Affected Systems

The flaw affects Linux kernel systems that include the MMC hsq subsystem in conjunction with the sdhci‑sprd driver. Any kernel version that bundles the unpatched mmc_hsq implementation is potentially vulnerable, regardless of hardware configuration. The weakness is specific to environments where this driver is loaded and active.

Risk and Exploitability

The CVSS score of 5.5 denotes a moderate severity. The EPSS score of < 1% indicates a very low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires privileged access to unload or restart the driver, which makes the threat largely local. Consequently, the risk is best characterized as a moderate local denial of service that can be achieved only by attackers with kernel module management privileges.

Generated by OpenCVE AI on October 9, 2026 at 15:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel update that contains the mmc hsq use‑after‑free fix, which replaces the pending retry work cleanup with devm_work_autocancel.
  • Until the update is applied, avoid unloading or restarting MMC host drivers such as sdhci‑sprd; keep them loaded to prevent the pending work from executing.
  • Limit unprivileged users from loading or removing kernel modules by tightening permissions on /lib/modules and controlling module loading via sysctl or policy mechanisms.

Generated by OpenCVE AI on October 9, 2026 at 15:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Fri, 09 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 09 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Wed, 07 Oct 2026 04:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title mmc: hsq: Fix use-after-free in retry work
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:15:43.105Z

Reserved: 2026-09-25T10:25:14.325Z

Link: CVE-2026-98212

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:07.627

Modified: 2026-10-19T10:18:21.920

Link: CVE-2026-98212

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98212 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T15:45:07Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference