Impact
In the Linux kernel, a divide‑by‑zero error can occur during ENETC ring allocation on i.MX94 devices when the number of virtual functions (num_vsi) is zero, which is the case for standalone ENETCs that do not support SR‑IOV. The erroneous arithmetic performed by the ARM64 UDIV/SDIV instructions produces a silent zero result rather than raising an exception, so the issue does not crash the kernel but introduces undefined behavior and a potential cross‑platform compatibility risk. The patch adds an explicit check for a zero value and early‑returns to prevent the division, thereby restoring correct ring configuration.
Affected Systems
Linux kernel running on i.MX94 series ARM64 hardware. The vulnerability is tied to the enetc driver in the kernel; any kernel version prior to the commit that introduced the null‑check is affected. No specific release numbers are listed, so all distributions that ship with a kernel older than this patch and run on i.MX94 devices are potentially impacted.
Risk and Exploitability
The CVSS score is not provided, and the EPSS score is unavailable, indicating no publicly reported exploits. Because the divide‑by‑zero path simply returns zero on ARM64, the defect does not trigger a crash or immediate denial of service, but it can lead to unpredictable ring allocation and kernel instability. The risk is therefore considered low to moderate, primarily due to the undefined behavior and lack of an attack surface outside the kernel. No known vulnerabilities have been linked to this weakness and it is not currently listed in the CISA KEV catalog.
OpenCVE Enrichment