Aller au contenu
9.4 Critique

CVE-2026-43114 In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo_avx2: don't return…

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo_avx2: don't return non-matching entry on expiry New test case fails unexpectedly when avx2 matching functions are used. The test first loads a ranomly generated pipapo set with 'ipv4 . port' key, i.e. nft -f foo. This works. Then, it reloads the set after a flush: (echo flush set t s; cat foo) | nft -f - This is expected to work, because its the same set after all and it was already loaded once. But with avx2, this fails: nft reports a clashing element. The reported clash is of following form: We successfully re-inserted a . b c . d Then we try to insert a . d avx2 finds the already existing a . d, which (due to 'flush set') is marked as invalid in the new generation. It skips the element and moves to next. Due to incorrect masking, the skip-step finds the next matching element *only considering the first field*, i.e. we return the already reinserted "a . b", even though the last field is different and the entry should not have been matched. No such error is reported for the generic c implementation (no avx2) or when the last field has to use the 'nft_pipapo_avx2_lookup_slow' fallback. Bisection points to 7711f4bb4b36 ("netfilter: nft_set_pipapo: fix range overlap detection") but that fix merely uncovers this bug. Before this commit, the wrong element is returned, but erronously reported as a full, identical duplicate. The root-cause is too early return in the avx2 match functions. When we process the last field, we should continue to process data until the entire input size has been consumed to make sure no stale bits remain in the map.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 7.0 premières → < 7.0 7.0
Linux 6.19 premières → < 6.19.14 6.19.14
Linux 6.18 premières → < 6.18.24 6.18.24
Linux 6.12 premières → < 6.12.83 6.12.83
Linux 6.6 premières → < 6.6.136 6.6.136
Linux 6.1 premières → < 6.1.175 6.1.175
Linux 5.15 premières → < 5.15.209 5.15.209
Linux 5.10 premières → < 5.10.258 5.10.258
Linux 5.7 Pas de correctif indiqué
Afficher les 14 autres branches
Produit Versions touchées Corrigé en
Red Hat Enterprise Linux 10 Versions non publiées
Red Hat Enterprise Linux 9 Versions non publiées
Red Hat OpenShift Container Platform 4 Versions non publiées
Red Hat Enterprise Linux 6 Versions non publiées
Red Hat Enterprise Linux 7 Versions non publiées
Red Hat Enterprise Linux 8 Versions non publiées
Red Hat Enterprise Linux 10.0 Extended Update Support Versions non publiées
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 9.6 Extended Update Support Versions non publiées
Red Hat OpenShift Container Platform 4.22 4.22 premières → < 4.22.9.8.202609020733-0 4.22.9.8.202609020733-0
Red Hat OpenShift Container Platform 4.20 4.20 premières → < 4.20.9.6.202609092300-0 4.20.9.6.202609092300-0
Red Hat OpenShift Container Platform 4.21 4.21 premières → < 4.21.9.6.202609090322-0 4.21.9.6.202609090322-0
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions non publiées

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE