ipv4: fib: bound automatic table ID allocation (Linux Linux)

CVE-2026-97598
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: fib: bound automatic table ID allocation fib_empty_table() probes every table ID from 1 until it finds a free one. IPv4 tables are stored in a 256-bucket hash table, so a dense set of IDs makes each probe walk a growing hash chain while RTNL is held. Automatic table assignment ("ip rule ... table 0") is an IPv4-only legacy path. Bound the automatically allocated ID to 4096 so the RTNL hold stays bounded, without changing lookups of explicitly specified table IDs. This changes user-visible behavior. A table-0 rule previously received the lowest free ID in 1..RT_TABLE_MAX (0xFFFFFFFF). After this patch the search stops at 4096 and the rule add fails with ENOBUFS if that range is fully occupied. Explicit table IDs above 4096 remain usable. The automatic path is unused in practice: it is IPv4-only, not documented by ip-rule, uncovered by kernel selftests, and both NetworkManager and systemd refuse table 0.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < 999bc00588cb305ab25065e8a8ac31da7465301c
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < f1f2da33eaab54b4d5cdea6d70befb2e2fb49cb6
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < 125890702ef4417cd0ffac2e448c0cd4fbf0ac45
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < 3080f9e653d8c057d5652db5ced8137f81b3fcbd
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < bc8d01d856db106f284b19961af6112e10c3e3b4
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < fe9a906d2bff2d2707bafd6353b5e032a42aeb35
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < 2c29c053a6627dc4f12fcfe6b4860bcd9e5d7503
affectée : ≥ b801f54917b7c6e8540f877ee562cd0725e62ebd < efdfb1e27a3328085b79540dfe781d537b576ea1
Autres versions : non affectée
Linux · Linux
affectée : 2.6.19
non affectée : ≥ 0 < 2.6.19
non affectée : ≥ 5.10.271 ≤ 5.10.*
non affectée : ≥ 5.15.222 ≤ 5.15.*
non affectée : ≥ 6.1.189 ≤ 6.1.*
non affectée : ≥ 6.6.158 ≤ 6.6.*
non affectée : ≥ 6.12.111 ≤ 6.12.*
non affectée : ≥ 6.18.53 ≤ 6.18.*
non affectée : ≥ 7.2.7 ≤ 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