Impact
The Linux kernel’s IBM emac network driver contains a use‑after‑free flaw that occurs when a device is removed. During the removal sequence, devm_register_netdev() defers the call to unregister_netdev() until the devres cleanup phase, which runs after the hardware teardown performed by emac_remove(). While the driver is still tearing down the hardware, the networking stack can process packets or invoke interrupt handlers that reference the now‑freed hardware resources, resulting in memory corruption or a kernel crash. This weakness is a classic use‑after‑free (CWE‑364 and CWE‑416).
Affected Systems
The Emac driver is part of the Linux kernel. Any kernel build that still contains the original emac implementation prior to this patch is potentially affected. The vulnerability is identified through the Linux all kernel images that include the unpatched Emac driver, including the 7.1 release candidates (rc1 to rc7).
Risk and Exploitability
The vulnerability carries a CVSS score of 7.8, indicating a high severity. It is not listed in CISA KEV and the EPSS score is less than 1%, indicating a very low likelihood of exploitation. An attacker would need to cause or influence the removal of an Emac device to trigger the flaw. If successfully triggered, the attacker could force a kernel crash or deny service. The impact is severe, but the low exploitation probability suggests a moderate overall risk. Prompt patching is recommended.
OpenCVE Enrichment