{"id":"CVE-2026-99121","aliases":["CVE-2026-99121"],"related":[],"kind":"vulnerability","state":"published","title":"ipv4: avoid divide by zero in fib_rebalance","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: avoid divide by zero in fib_rebalance\n\nfib_rebalance() computes the total eligible nexthop weight in one pass\nand programs upper bounds in a second pass. A concurrent change to\nignore_routes_with_linkdown can make the first pass return zero while\nthe second pass sees an eligible nexthop, resulting in division by zero.\n\nIf the first pass reports a zero total, set each nexthop upper bound to\n-1 and skip the division. This matches the IPv6 fix in commit\nd2c26c2911dd (\"ipv6: avoid divide by zero in rt6_multipath_rebalance\")\nand preserves the lock-free rebalance path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: avoid divide by zero in fib_rebalance\n\nfib_rebalance() computes the total eligible nexthop weight in one pass\nand programs upper bounds in a second pass. A concurrent change to\nignore_routes_with_linkdown can make the first pass return zero while\nthe second pass sees an eligible nexthop, resulting in division by zero.\n\nIf the first pass reports a zero total, set each nexthop upper bound to\n-1 and skip the division. This matches the IPv6 fix in commit\nd2c26c2911dd (\"ipv6: avoid divide by zero in rt6_multipath_rebalance\")\nand preserves the lock-free rebalance path.","source":"cvelist"}],"published":"2026-10-28T10:34:37.082Z","modified":"2026-10-30T13:21:46.377Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"baf3a767b2845eb8e68f056ee4aa5b41b151e990","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"f655a26490e705ec76a79db7f412847fda342b39","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"7c68f4de5090b17b63b9a0a3b01b3807e01a296a","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"226a974054acbd892560bfa67f0ae8ffe271a736","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"0800c92ca5d1983df6843a5435299978901d1d02","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"d5520e815c4b1427104ce1428ee23821f2aa824d","status":"affected"},{"type":"git","introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0","fixed":"5046d2880fec7d49ebed2fd2866747ee1d06ad71","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.4","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.161","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.59","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/baf3a767b2845eb8e68f056ee4aa5b41b151e990","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f655a26490e705ec76a79db7f412847fda342b39","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c68f4de5090b17b63b9a0a3b01b3807e01a296a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/226a974054acbd892560bfa67f0ae8ffe271a736","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0800c92ca5d1983df6843a5435299978901d1d02","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5520e815c4b1427104ce1428ee23821f2aa824d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5046d2880fec7d49ebed2fd2866747ee1d06ad71","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99121","url":"https://www.cve.org/CVERecord?id=CVE-2026-99121","licence":"CVE Terms of Use","modified":"2026-10-30T12:41:56.754Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99121","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99121","licence":"Public domain","modified":"2026-10-30T13:21:46.377Z"}],"updatedAt":"2026-11-25T22:59:47.568Z","epss":{"score":0.0022,"percentile":0.13431,"date":"2026-12-01T12:00:22.000Z"}}