Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98210 Overview
CVE-2026-98210 is a use-after-free vulnerability in the Linux kernel's mmc/host/mxcmmc MMC host controller driver. The flaw lives in mxcmci_remove(), which releases the host through the devm tail without draining the driver's own asynchronous state. The host->watchdog timer, armed on the DMA path in mxcmci_setup_data(), and host->datawork, armed from the IRQ handler on the PIO path, can both fire after the host has been freed. The resulting dereference inside mxcmci_watchdog() or the datawork callback can corrupt kernel memory. The issue was identified by an in-house static analysis tool and resolved upstream.
Critical Impact
A trailing watchdog timer or scheduled work item can dereference a freed mxcmci_host structure after driver removal, enabling kernel memory corruption on affected i.MX MMC-equipped systems.
Affected Products
- Linux kernel versions containing the drivers/mmc/host/mxcmmc.c driver prior to the fix
- Freescale/NXP i.MX platforms using the MXC MMC/SD controller
- Stable kernel branches referenced by commits 23383e0, 314966b, 740f595, a1ff367, ae10838, d3641af, d3a421c, and e2948c4
Discovery Timeline
- 2026-10-06 - CVE-2026-98210 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98210
Vulnerability Analysis
The mxcmmc driver manages SD/MMC host controllers on i.MX hardware. During normal operation, two asynchronous callbacks can be scheduled: a 10-second software watchdog timer (host->watchdog) armed on the DMA transfer path, and a work item (host->datawork) armed from the interrupt handler on the PIO transfer path. Both callbacks dereference the mxcmci_host structure.
At driver removal time, mxcmci_remove() relies on the devm managed resource cleanup to free the host. However, neither mxcmci_remove() nor the generic mmc_remove_host() explicitly drains these driver-specific asynchronous contexts. The watchdog is deleted only on the DMA- and IRQ-complete code paths, which are not guaranteed to run before teardown.
Root Cause
The root cause is a missing synchronization step during driver teardown. The pending watchdog timer and the pending workqueue item outlive the lifetime of the mxcmci_host object. When either callback executes after the devm tail releases the host, it operates on freed memory, producing a classic use-after-free condition in kernel context.
Attack Vector
Triggering the flaw requires driver removal while asynchronous state is still pending, for example during module unload, device unbind, or hot-removal of an i.MX SD/MMC controller. Exploitation is local and depends on physical or administrative control over the affected device. The condition is not reachable from unprivileged remote actors, but on embedded i.MX platforms it can be reached through normal power management or administrative transitions. Technical details are available in the upstream fix commits, including Linux Kernel Commit 23383e0 and Linux Kernel Commit e2948c4.
// No verified proof-of-concept code is available for this issue.
// See the upstream commits referenced above for the structural fix.
Detection Methods for CVE-2026-98210
Indicators of Compromise
- Kernel oops or panic messages referencing mxcmci_watchdog, mxcmci_datawork, or mxcmmc after module unload or device unbind.
- KASAN use-after-free reports pointing into the mxcmci_host allocation on i.MX platforms.
- Unexpected reboots or stalls on i.MX systems correlated with SD/MMC subsystem teardown events.
Detection Strategies
- Enable CONFIG_KASAN on test and staging kernels for i.MX hardware to surface the use-after-free deterministically during unbind cycles.
- Audit running kernel versions on fleet devices and compare against the fixed stable commits listed in the references.
- Correlate dmesg output with device unbind, module unload, or hot-removal events in system logs.
Monitoring Recommendations
- Centralize kernel log collection from embedded Linux fleets and alert on BUG:, KASAN:, or Unable to handle kernel paging request entries that reference MMC symbols.
- Monitor module load and unload sequences on production devices and treat repeated mxcmmc unbind events as suspicious.
- Track kernel build versions as inventory telemetry so unpatched hosts can be prioritized for update.
How to Mitigate CVE-2026-98210
Immediate Actions Required
- Update affected i.MX systems to a stable Linux kernel release that includes the fixes referenced in the upstream commits.
- Avoid runtime unbind or module unload of the mxcmmc driver on unpatched kernels in production.
- Review downstream vendor kernels (NXP BSP, Yocto layers, buildroot configurations) and confirm the fix has been backported.
Patch Information
The fix reorders teardown in mxcmci_remove(): it frees the devm-registered IRQ first, then cancels datawork and deletes the watchdog timer, before calling dma_release_channel(). Freeing the IRQ first prevents a trailing handler from re-arming datawork between the cancel and the host free. Both callbacks are non-self-rearming, which makes this ordering sufficient. The complete patch set is distributed across the referenced stable commits, including Linux Kernel Commit 314966b, Linux Kernel Commit 740f595, and Linux Kernel Commit d3a421c.
Workarounds
- Keep the mxcmmc driver statically built and avoid dynamic unbind operations until patched kernels are deployed.
- Restrict administrative access to systems exposing sysfs bind and unbind interfaces for MMC host controllers.
- Where feasible, disable MMC hot-remove workflows on affected embedded devices until the fix is applied.
# Verify kernel version and MMC driver status on an i.MX device
uname -r
modinfo mxcmmc 2>/dev/null | grep -E 'filename|version|srcversion'
dmesg | grep -iE 'mxcmmc|mxcmci'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

