{"id":"CVE-2026-80610","summary":"net: enetc: fix potential divide-by-zero when num_vsi is zero","details":"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-\u003ecaps.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.","modified":"2026-08-30T03:48:22.902170523Z","published":"2026-08-28T06:48:33.340Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80610.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5da65537792b68b6052ffcab65e04c27aea6dfe4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd37bcb67f909a8683cc8c38a63ac7367a7f6161"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80610.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80610"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7"},{"fixed":"cd37bcb67f909a8683cc8c38a63ac7367a7f6161"},{"fixed":"5da65537792b68b6052ffcab65e04c27aea6dfe4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80610.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80610.json"}}],"schema_version":"1.9.0"}