Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187436; b=EDqq+LxI9OLPH0IYgORb9S5fozUE8uaczAKG/elHnI+eAV2mSXlJlDTlVKb3VHRRjibK Vb5IMrNTJWTBoLyh0dTwxGUB75s7vrKd081Oy6h2b9RpDO15pPCJeNQ3IHhFuxd/9/+DC ymto8cPqnywkrGL6C1+6E8kRbXFQrXiF6eDGwAnwGeJj9D2K+f3Wc2Nlfo5KphUJsVVpI uCHqY3LRpb6I2blnUmS9rJ361FVUkXyc74pz0scdCDTLfTcDfH46xL/Bix2r+fmbDGT2u FJ5kMPOTccT6VVNjOEiHQ3Q4ysSzpsa0R++9HBcHnuiNjY4NwTKcwSMrzWVKyw3m62g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187436; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=qTrs9K7A3T9dWveVTWOvFBSvvPEosLRUdZY2E6JoAj8=; b=CBh3VyB1NBCn+qpWDgQ0YIDGeoTDqN1bwynYyhKm0wEuYx0ARhNGvS5OgxNqFOiMOznp MWRZMLqpCheze1K7jn1D8bdB3jT+RQnaOFo7dwGJnwGmO23sMKdEV32en+PcNBjmRJ/KX 8b/B06Jm3pbdGSLy0XOy6q6k26+XRkHzSNTy4MZaAaz6REkZHL8cuwBvnC51h2zrzuJPq s/j7WeyMKgQM/7OMcBRmgNsPg+aY2TlLCKy7ae1he5nI6R8MYlc726apgtUGbvW6y5DRr +O8gl8xzmpL6hb10ZhzgQR8JIpOUGgWROm1Sx7IzQ/8NR+FLC1NNLZN+m2u4HPBwZaw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qUVK0vm9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88210606A31C for ; Wed, 28 Oct 2026 11:37:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qUVK0vm9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0C321F01825; Wed, 28 Oct 2026 11:37:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187436; bh=qTrs9K7A3T9dWveVTWOvFBSvvPEosLRUdZY2E6JoAj8=; h=From:To:Cc:Subject:Date:Reply-To; b=qUVK0vm9eUezG7gYuXhzbuWWPTVTwqibR6YVrqB5d3Sg5q93h34a25XP92jEAZM3o iNFmZji+huWf2ZXgx1+sEpQNZj40aNmOLK9P+4zagmdQE+EOqdfGHW/r2gxTvrRH6N hURJj0kD9Eqh74u38Xgk/QqACyzKfaES3c0Bd3h0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99121: ipv4: avoid divide by zero in fib_rebalance Date: Wed, 28 Oct 2026 11:35:08 +0100 Message-ID: <2026102856-CVE-2026-99121-b36f@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2514; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YSso9suQmQHINwt+gLRwHWpcpjfgFzd31OFHlrMbNx4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz1844OHavmZa+RbJ91+PXg0+smZV+6vGskeL7jqvU +KfZvjGsyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmUrSRYcHa/qRJr6asMLuZ WfAoTH3ZHqmVOQ8Z5sqxlO1Rz779alra2ZqJ1a9la06f+wsA 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: ipv4: avoid divide by zero in fib_rebalance fib_rebalance() computes the total eligible nexthop weight in one pass and programs upper bounds in a second pass. A concurrent change to ignore_routes_with_linkdown can make the first pass return zero while the second pass sees an eligible nexthop, resulting in division by zero. If the first pass reports a zero total, set each nexthop upper bound to -1 and skip the division. This matches the IPv6 fix in commit d2c26c2911dd ("ipv6: avoid divide by zero in rt6_multipath_rebalance") and preserves the lock-free rebalance path. The Linux kernel CVE team has assigned CVE-2026-99121 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit 0e884c78ee19e902f300ed147083c28a0c6302f0 and fixed in 6.18.59 with commit 5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f Issue introduced in 4.4 with commit 0e884c78ee19e902f300ed147083c28a0c6302f0 and fixed in 7.2.13 with commit d5520e815c4b1427104ce1428ee23821f2aa824d Issue introduced in 4.4 with commit 0e884c78ee19e902f300ed147083c28a0c6302f0 and fixed in 7.3 with commit 5046d2880fec7d49ebed2fd2866747ee1d06ad71 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-99121 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: net/ipv4/fib_semantics.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/5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f https://git.kernel.org/stable/c/d5520e815c4b1427104ce1428ee23821f2aa824d https://git.kernel.org/stable/c/5046d2880fec7d49ebed2fd2866747ee1d06ad71