ipv4: avoid divide by zero in fib_rebalance (Linux Linux)

CVE-2026-99121
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < baf3a767b2845eb8e68f056ee4aa5b41b151e990
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < f655a26490e705ec76a79db7f412847fda342b39
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < 7c68f4de5090b17b63b9a0a3b01b3807e01a296a
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < 226a974054acbd892560bfa67f0ae8ffe271a736
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < 0800c92ca5d1983df6843a5435299978901d1d02
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < 5dac5c7ba8f5f3fb4bf29f2a2c3cb552f5b83c8f
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < d5520e815c4b1427104ce1428ee23821f2aa824d
affectée : ≥ 0e884c78ee19e902f300ed147083c28a0c6302f0 < 5046d2880fec7d49ebed2fd2866747ee1d06ad71
Autres versions : non affectée
Linux · Linux
affectée : 4.4
non affectée : ≥ 0 < 4.4
non affectée : ≥ 5.10.273 ≤ 5.10.*
non affectée : ≥ 5.15.224 ≤ 5.15.*
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.161 ≤ 6.6.*
non affectée : ≥ 6.12.115 ≤ 6.12.*
non affectée : ≥ 6.18.59 ≤ 6.18.*
non affectée : ≥ 7.2.13 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD