1. Accueil
  2. Vulnérabilités
  3. CVE-2024-39503

CVE-2024-39503

netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type

Publiée le 12 juil. 2024 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 31/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type Lion Ackermann reported that there is a race condition between namespace cleanup in ipset and the garbage collection of the list:set type. The namespace cleanup can destroy the list:set type of sets while the gc of the set type is waiting to run in rcu cleanup. The latter uses data from the destroyed set which thus leads use after free. The patch contains the following parts: - When destroying all sets, first remove the garbage collectors, then wait if needed and then destroy the sets. - Fix the badly ordered "wait then remove gc" for the destroy a single set case. - Fix the missing rcu locking in the list:set type in the userspace test case. - Use proper RCU list handlings in the list:set type. The patch depends on c1193d9bbbd3 (netfilter: ipset: Add list flush to cancel_gc).

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (16 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.4.269 (inclus) à 5.4.279 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.10.210 (inclus) à 5.10.221 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.149 (inclus) à 5.15.162 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.79 (inclus) à 6.1.95 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.18 (inclus) à 6.6.35 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.7.6 (inclus) à 6.8 (exclu) — CNA (éditeur ou attributeur)
Linux 6.8 — CNA (éditeur ou attributeur)
Linux kernel de 5.4.269 (inclus) à 5.4.279 (exclu) — NVD
Linux kernel de 5.10.210 (inclus) à 5.10.221 (exclu) — NVD
Linux kernel de 5.15.149 (inclus) à 5.15.162 (exclu) — NVD
Linux kernel de 6.1.79 (inclus) à 6.1.95 (exclu) — NVD
Linux kernel de 6.6.18 (inclus) à 6.6.35 (exclu) — NVD
Linux kernel de 6.7.6 (inclus) à 6.8 (exclu) — NVD
Linux kernel de 6.8.1 (inclus) à 6.9.6 (exclu) — NVD
Linux kernel 6.8 — NVD
Linux kernel 6.10 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-362 · Autre (CWE-362)

Comment sont obtenues et calculées ces données