{"id":"CVE-2026-99121","summary":"ipv4: avoid divide by zero in fib_rebalance","details":"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.","modified":"2026-11-01T02:30:58.772127997Z","published":"2026-10-28T10:34:37.082Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99121.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0800c92ca5d1983df6843a5435299978901d1d02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/226a974054acbd892560bfa67f0ae8ffe271a736"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5046d2880fec7d49ebed2fd2866747ee1d06ad71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c68f4de5090b17b63b9a0a3b01b3807e01a296a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/baf3a767b2845eb8e68f056ee4aa5b41b151e990"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5520e815c4b1427104ce1428ee23821f2aa824d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f655a26490e705ec76a79db7f412847fda342b39"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99121.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99121"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0e884c78ee19e902f300ed147083c28a0c6302f0"},{"fixed":"baf3a767b2845eb8e68f056ee4aa5b41b151e990"},{"fixed":"f655a26490e705ec76a79db7f412847fda342b39"},{"fixed":"7c68f4de5090b17b63b9a0a3b01b3807e01a296a"},{"fixed":"226a974054acbd892560bfa67f0ae8ffe271a736"},{"fixed":"0800c92ca5d1983df6843a5435299978901d1d02"},{"fixed":"5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f"},{"fixed":"d5520e815c4b1427104ce1428ee23821f2aa824d"},{"fixed":"5046d2880fec7d49ebed2fd2866747ee1d06ad71"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99121.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.4.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.161"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.115"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.59"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99121.json"}}],"schema_version":"1.9.2"}