Skip to main content
Vulnerability Database/CVE-2026-97411

CVE-2026-97411: Linux Kernel EMAC MAL DOS Vulnerability

CVE-2026-97411 is a denial of service vulnerability in the Linux kernel's IBM EMAC MAL driver that causes system hangs during module removal. This article covers the technical details, affected versions, and mitigation strategies.

Published:

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-97411 Overview

CVE-2026-97411 is a kernel vulnerability in the Linux IBM Ethernet Media Access Controller (EMAC) Memory Access Layer (MAL) driver. The flaw resides in the mal_remove() function, which unconditionally calls napi_disable() during module removal. Because napi_disable() is not idempotent, invoking it on an already-disabled or unenabled NAPI context causes the kernel to spin indefinitely waiting for the NAPI_STATE_SCHED bit to clear. The result is a system hang when the ibm_emac module is unloaded under specific driver states.

Critical Impact

Unloading the IBM EMAC MAL driver can hang the kernel indefinitely, preventing clean module removal and requiring a hard reboot to recover.

Affected Products

  • Linux kernel net/ethernet/ibm/emac/mal.c driver (IBM EMAC MAL)
  • Linux kernel branches prior to the patch commits referenced below
  • Systems using IBM PowerPC EMAC networking hardware

Discovery Timeline

  • 2026-09-24 - CVE-2026-97411 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97411

Vulnerability Analysis

The IBM EMAC MAL driver manages NAPI (New API) polling contexts for network packet processing on PowerPC-based IBM Ethernet controllers. During module removal, mal_remove() tears down the MAL instance and its associated NAPI context. The function previously called napi_disable() without checking whether NAPI had ever been enabled.

napi_disable() works by setting the NAPI_STATE_SCHED bit and waiting for any in-flight NAPI poll to complete. When NAPI is already disabled or was never enabled, the bit remains in a state that causes the busy-wait loop to never terminate. The kernel enters an infinite spin, hanging the removal path and leaving the system unresponsive to further module operations.

Root Cause

The root cause is a missing state check before invoking a non-idempotent kernel API. Two code paths trigger the hang: (1) no MAC controllers were ever registered via mal_register_commac(), so NAPI was never enabled; or (2) all registered MACs were later unregistered through mal_unregister_commac(), which already disabled NAPI. In both cases, the subsequent napi_disable() call in mal_remove() operates on a context without NAPI_STATE_SCHED properly set, producing an indefinite spin.

Attack Vector

This is a local, non-privileged-triggerable reliability defect rather than a remotely exploitable flaw. Triggering requires loading and then removing the ibm_emac module on an affected system, typically an administrative action. There is no public evidence of exploitation, and the issue is categorized as a denial-of-service condition limited to systems running the vulnerable driver. See the Linux Kernel patch commit 7c5d41f for the authoritative fix.

Detection Methods for CVE-2026-97411

Indicators of Compromise

  • Kernel task hung messages referencing mal_remove or napi_disable in dmesg or /var/log/messages.
  • Unresponsive rmmod ibm_emac or modprobe -r ibm_emac commands that never return.
  • Soft lockup warnings pointing at the EMAC MAL driver teardown path.

Detection Strategies

  • Audit kernel versions on IBM PowerPC systems and compare against the fixed commits 7c5d41f, c4cb9a7, and f6c1aad.
  • Collect kernel stack traces during module removal operations and flag any that stall inside napi_disable().
  • Correlate hung-task watchdog alerts with EMAC driver activity in centralized logging.

Monitoring Recommendations

  • Forward kernel ring buffer events to a centralized log store and alert on hung_task entries referencing mal_ symbols.
  • Monitor host availability metrics on PowerPC EMAC systems for unexpected hangs following administrative driver changes.
  • Track package and kernel update status to confirm the patched build is deployed across affected hosts.

How to Mitigate CVE-2026-97411

Immediate Actions Required

  • Apply the stable kernel update containing the upstream fix on all IBM PowerPC systems running the EMAC driver.
  • Avoid unloading the ibm_emac module on unpatched hosts, especially when no MACs are registered.
  • Schedule maintenance windows for kernel upgrades to minimize operational impact.

Patch Information

The fix adds a check so that napi_disable() is only invoked in mal_remove() when the commac list is non-empty, which implies NAPI was enabled. The patch is available in the following upstream commits: Linux Kernel Commit 7c5d41f, Linux Kernel Commit c4cb9a7, and Linux Kernel Commit f6c1aad. Deploy a kernel build that includes one of these commits for your branch.

Workarounds

  • Do not unload the ibm_emac module on unpatched kernels; leave the driver loaded for the lifetime of the system.
  • If driver removal is required, ensure at least one MAC remains registered through the removal path or reboot the host instead.
  • Blacklist dynamic driver reload workflows that target ibm_emac in configuration management until the patched kernel is deployed.
bash
# Verify the running kernel includes the fix commit
uname -r
git log --oneline | grep -E '7c5d41f|c4cb9a7|f6c1aad'

# Prevent accidental module removal on unpatched hosts
echo 'blacklist ibm_emac_unload_script' | sudo tee /etc/modprobe.d/ibm_emac_lock.conf

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.