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

Published Oct 28, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ipv4: avoid divide by zero in fibrebalance

fibrebalance() computes the total eligible nexthop weight in one pass and programs upper bounds in a second pass. A concurrent change to ignorerouteswithlinkdown 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 rt6multipathrebalance") and preserves the lock-free rebalance path.

Event History

Oct 28, 2026
CVE Published
via MITRE·10:34 AM
Data Sourced
via MITRE·10:34 AM
Description

Frequently Asked Questions

1

What condition is required to trigger the fault?

The issue requires a concurrent change to ignore_routes_with_linkdown while fib_rebalance() is running. The first pass must calculate a zero eligible nexthop weight, while the second pass subsequently sees an eligible nexthop and attempts the division.

2

What does the fix do when no eligible nexthop weight is found?

When the first pass reports a zero total, the fix sets every nexthop upper bound to -1 and skips the division. The rebalance path remains lock-free.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203