# CVE-2026-80610: net: enetc: fix potential divide-by-zero when num_vsi is zero

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-28T06:48:33.340Z
- Modified: 2026-08-28T08:16:44.987Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: enetc: fix potential divide-by-zero when num_vsi is zero

For i.MX94 series, all the standalone ENETCs do not support SR-IOV, so
pf->caps.num_vsi is zero. This leads to a divide-by-zero in
enetc4_default_rings_allocation() when distributing rings among PF and
VFs.

Division by zero is undefined behavior in C. On ARM64, the UDIV/SDIV
instructions silently return zero rather than raising an exception, so
the issue does not cause a visible crash. However, relying on this
behavior is incorrect and poses a cross-platform compatibility risk.

Add an explicit check for num_vsi == 0 and return early after the PF's
rings have been configured.

(As written by CVE List.)

## Affected

- Linux Linux: from 2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7 before cd37bcb67f909a8683cc8c38a63ac7367a7f6161; from 2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7 before 5da65537792b68b6052ffcab65e04c27aea6dfe4; 6.19 (not affected: before 6.19; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/cd37bcb67f909a8683cc8c38a63ac7367a7f6161>
- <https://git.kernel.org/stable/c/5da65537792b68b6052ffcab65e04c27aea6dfe4>

## Sources

- CVE List: [CVE-2026-80610](https://www.cve.org/CVERecord?id=CVE-2026-80610), CVE Terms of Use, modified 2026-08-28
- NVD: [CVE-2026-80610](https://nvd.nist.gov/vuln/detail/CVE-2026-80610), Public domain, modified 2026-08-28

---

Page: https://cve.day/CVE-2026-80610 · Whole record: https://cve.day/CVE-2026-80610.json · Rebuilt by cve.day 2026-11-25T22:59:35.587Z
