# CVE-2026-99121: ipv4: avoid divide by zero in fib_rebalance

- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-10-28T10:34:37.082Z
- Modified: 2026-10-30T13:21:46.377Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0e884c78ee19e902f300ed147083c28a0c6302f0 before baf3a767b2845eb8e68f056ee4aa5b41b151e990; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before f655a26490e705ec76a79db7f412847fda342b39; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before 7c68f4de5090b17b63b9a0a3b01b3807e01a296a; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before 226a974054acbd892560bfa67f0ae8ffe271a736; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before 0800c92ca5d1983df6843a5435299978901d1d02; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before 5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before d5520e815c4b1427104ce1428ee23821f2aa824d; from 0e884c78ee19e902f300ed147083c28a0c6302f0 before 5046d2880fec7d49ebed2fd2866747ee1d06ad71; 4.4 (not affected: before 4.4; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.59 up to 6.18.*; from 7.2.13 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/baf3a767b2845eb8e68f056ee4aa5b41b151e990>
- <https://git.kernel.org/stable/c/f655a26490e705ec76a79db7f412847fda342b39>
- <https://git.kernel.org/stable/c/7c68f4de5090b17b63b9a0a3b01b3807e01a296a>
- <https://git.kernel.org/stable/c/226a974054acbd892560bfa67f0ae8ffe271a736>
- <https://git.kernel.org/stable/c/0800c92ca5d1983df6843a5435299978901d1d02>
- <https://git.kernel.org/stable/c/5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f>
- <https://git.kernel.org/stable/c/d5520e815c4b1427104ce1428ee23821f2aa824d>
- <https://git.kernel.org/stable/c/5046d2880fec7d49ebed2fd2866747ee1d06ad71>

## Sources

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

---

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