Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 804CD3D093F for ; Fri, 28 Aug 2026 06:49:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899771; cv=none; b=YlrhJwTtyJjhGS/4trO6U0jdR0QC5EyXuxvpfWcr6sH0sspjjUhLBIZuNMsgQ3YKKtJUvOL7O0nwqzqsB0kJMz5/ls0+VPO8Zx69Kj+MQCVAg0+SOnOmTALdqxdjelwYyiM4C2JEXmmapMXZtLz5z9u78uRsL7Ty31HL1AYGiLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899771; c=relaxed/simple; bh=O3XkP+aygJHsOwDM1V1R0gpnYovU2RVWMYJJNrNFvrU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nRxJXnRVtGuE+0aPcjcobK1ZW0+DT1lS2J4mLtPugmkfJF7zDjeSabtHRoy+kf55NBaMNfwmBxAcJ9gaQo53JQbgpDrwyp0fbnDPj/wvb4J0c74z41ZDs2mcP307oGF95CyOXvpXX316Iww0S/xAe5IUqAeY8grVjxOWIDxGKNE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EV6p0iu7; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EV6p0iu7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E9561F000E9; Fri, 28 Aug 2026 06:49:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899770; bh=84Ey5bVhuXCZNZ03FjK4Ehp3Hx1sC4ZCz660sqC1eYU=; h=From:To:Cc:Subject:Date:Reply-To; b=EV6p0iu7kNE1Pg94xH615z0wd18CCEAwulkWpErFA9ZVPW2j0AkiUzRJs4jQdZi0x EH70/yBzwBKC7pSPOTisJCr1G+6rgsPexeigPChuxYf88spyLbinnhIu1O2A4knZem GGldo6tB5zxPNDS/gOl6vDObKWts7r0Cy2Ya5yKA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80610: net: enetc: fix potential divide-by-zero when num_vsi is zero Date: Fri, 28 Aug 2026 08:48:47 +0200 Message-ID: <2026082834-CVE-2026-80610-9039@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2385; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uEd2a65vJZSmydKEZaF4Asl3Tzyb2ayBPPpQ4MeD4A0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9Z3Wfil08fovJq3Dm3NgvlHB2deJu0NVp+qxlkXKa 5lJBgl3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQOX2BYcEq9Z82ObPN5m+5+ mmt+svVSw/aMawwLZtwWcJux9e6nG623boeFrZmdsShWFgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-80610 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7 and fixed in 7.1.5 with commit cd37bcb67f909a8683cc8c38a63ac7367a7f6161 Issue introduced in 6.19 with commit 2d673b0e2f8d75b66aa21e5ca5d95c415dec5be7 and fixed in 7.2 with commit 5da65537792b68b6052ffcab65e04c27aea6dfe4 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80610 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/freescale/enetc/enetc4_pf.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/cd37bcb67f909a8683cc8c38a63ac7367a7f6161 https://git.kernel.org/stable/c/5da65537792b68b6052ffcab65e04c27aea6dfe4