{"id":"CVE-2026-80610","aliases":["CVE-2026-80610"],"related":[],"kind":"vulnerability","state":"published","title":"net: enetc: fix potential divide-by-zero when num_vsi is zero","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: enetc: fix potential divide-by-zero when num_vsi is zero\n\nFor i.MX94 series, all the standalone ENETCs do not support SR-IOV, so\npf->caps.num_vsi is zero. This leads to a divide-by-zero in\nenetc4_default_rings_allocation() when distributing rings among PF and\nVFs.\n\nDivision by zero is undefined behavior in C. On ARM64, the UDIV/SDIV\ninstructions silently return zero rather than raising an exception, so\nthe issue does not cause a visible crash. However, relying on this\nbehavior is incorrect and poses a cross-platform compatibility risk.\n\nAdd an explicit check for num_vsi == 0 and return early after the PF's\nrings have been configured.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: enetc: fix potential divide-by-zero when num_vsi is zero\n\nFor i.MX94 series, all the standalone ENETCs do not support SR-IOV, so\npf->caps.num_vsi is zero. This leads to a divide-by-zero in\nenetc4_default_rings_allocation() when distributing rings among PF and\nVFs.\n\nDivision by zero is undefined behavior in C. On ARM64, the UDIV/SDIV\ninstructions silently return zero rather than raising an exception, so\nthe issue does not cause a visible crash. However, relying on this\nbehavior is incorrect and poses a cross-platform compatibility risk.\n\nAdd an explicit check for num_vsi == 0 and return early after the PF's\nrings have been configured.","source":"cvelist"}],"published":"2026-08-28T06:48:33.340Z","modified":"2026-08-28T08:16:44.987Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7","fixed":"cd37bcb67f909a8683cc8c38a63ac7367a7f6161","status":"affected"},{"type":"git","introduced":"2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7","fixed":"5da65537792b68b6052ffcab65e04c27aea6dfe4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/cd37bcb67f909a8683cc8c38a63ac7367a7f6161","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5da65537792b68b6052ffcab65e04c27aea6dfe4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80610","url":"https://www.cve.org/CVERecord?id=CVE-2026-80610","licence":"CVE Terms of Use","modified":"2026-08-28T06:48:33.340Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80610","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80610","licence":"Public domain","modified":"2026-08-28T08:16:44.987Z"}],"updatedAt":"2026-11-25T22:59:35.587Z","epss":{"score":0.00155,"percentile":0.0491,"date":"2026-12-01T12:00:22.000Z"}}