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-98211 Overview
CVE-2026-98211 is a use-after-free vulnerability in the Linux kernel's mmci MultiMediaCard (MMC) host controller driver. The flaw resides in the ux500_busy_complete() code path, which queues ux500_busy_timeout_work for R1b commands. Because mmci_remove() never cancels the delayed work, the queued handler can dereference the mmci_host structure after it has been released by the device-managed (devm) allocator. The issue was identified by an in-house static analysis tool and resolved by masking controller interrupts and disabling the delayed work during driver removal.
Critical Impact
Driver removal of an active MMC controller can leave queued work that dereferences freed memory, leading to kernel memory corruption or crash.
Affected Products
- Linux kernel versions containing the mmci driver with ux500_busy_complete() support
- Systems using ARM ST-Ericsson Ux500 MMC/SD host controllers
- Linux stable branches prior to the fix commits listed in the kernel.org references
Discovery Timeline
- 2026-10-06 - CVE-2026-98211 published to the National Vulnerability Database (NVD)
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98211
Vulnerability Analysis
The vulnerability is a classic use-after-free (UAF) condition in the Linux kernel's MMC host controller interface driver (drivers/mmc/host/mmci.c). When the driver handles an R1b command, ux500_busy_complete() schedules a delayed work item, ux500_busy_timeout_work, to detect busy-state timeouts on the card. The mmci_remove() teardown routine never cancels this delayed work before releasing driver resources.
Because the mmci_host structure is allocated through the device-managed allocator (devm), it is freed automatically when the device is detached. A pending work item or an in-flight interrupt handler that queues the work after teardown can access the already-freed host structure. The resulting dereference corrupts kernel memory and can cause a kernel panic or exploitable state.
Root Cause
The root cause is missing cleanup synchronization during driver removal. The removal path neither masks controller interrupts nor cancels pending delayed work. An in-progress interrupt service routine (ISR) can therefore requeue ux500_busy_timeout_work after resources have been released, violating the lifetime guarantees of the devm-allocated host object.
Attack Vector
Triggering the condition requires either device hot-unplug, module unload (rmmod mmci), or driver unbind while an R1b command is in flight on the MMC bus. On affected ARM Ux500 platforms, a local actor with the ability to unload kernel modules or interact with the MMC subsystem can reach the vulnerable code path. Remote exploitation is not applicable because the driver has no network attack surface.
No public proof-of-concept exploit is available, and the issue was discovered through static analysis rather than observed in-the-wild abuse. See the upstream fix commits for the complete patch content: Kernel Commit 2b19cf3e, Kernel Commit 432b98c1, Kernel Commit 7fecf79f, and Kernel Commit af6fbf72.
Detection Methods for CVE-2026-98211
Indicators of Compromise
- Kernel oops or panic logs referencing ux500_busy_timeout_work, mmci_irq, or mmci_remove in the backtrace
- KASAN (Kernel Address Sanitizer) use-after-free reports pointing to the mmci_host structure
- Unexpected system reboots or kernel crashes correlated with MMC driver unload or hot-unplug events
Detection Strategies
- Audit running kernel versions against the fix commits referenced on kernel.org to identify unpatched hosts
- Enable KASAN and workqueue debug (CONFIG_DEBUG_OBJECTS_WORK) in test or staging kernels to surface the UAF deterministically
- Review dmesg output after driver unload events for warnings from the workqueue subsystem about pending work on freed memory
Monitoring Recommendations
- Forward kernel ring buffer and journald logs to a centralized log platform and alert on panic signatures involving mmci
- Track module load and unload activity for mmci on ARM Ux500 systems to correlate with crash events
- Monitor device uptime for unexplained reboots on fleets of embedded devices using the affected controller
How to Mitigate CVE-2026-98211
Immediate Actions Required
- Apply the upstream kernel patches referenced in the NVD advisory and rebuild affected kernels
- Prioritize patching on ARM Ux500 based systems and embedded devices that expose MMC hot-unplug paths
- Restrict local users from loading or unloading kernel modules by enforcing CAP_SYS_MODULE controls
Patch Information
The fix masks controller interrupts and disables the delayed work during removal, which drains any queued instance and prevents an in-progress IRQ handler from requeueing the work. Review and apply the stable-tree commits: Kernel Commit 2b19cf3e, Kernel Commit 432b98c1, Kernel Commit 7fecf79f, and Kernel Commit af6fbf72.
Workarounds
- Avoid unloading the mmci module on production systems until a patched kernel is deployed
- Disable hot-unplug workflows on embedded devices using the Ux500 MMC controller where feasible
- Blacklist the mmci driver on systems that do not require MMC functionality using modprobe configuration
# Configuration example: prevent mmci module from loading on unaffected roles
echo "blacklist mmci" | sudo tee /etc/modprobe.d/blacklist-mmci.conf
sudo update-initramfs -u
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

