Skip to content
Medium 5.5

ipv4: avoid divide by zero in fib_rebalance

CVE-2026-99121 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 4.4.0, < 5.10.273→ 5.10.273
≥ 5.11.0, < 5.15.224→ 5.15.224
≥ 5.16.0, < 6.1.191→ 6.1.191
≥ 6.2.0, < 6.6.161→ 6.6.161
≥ 6.7.0, < 6.12.115→ 6.12.115
≥ 6.13.0, < 6.18.59→ 6.18.59
≥ 6.19.0, < 7.2.13→ 7.2.13

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details