1. Accueil
  2. Vulnérabilités
  3. CVE-2025-38675

CVE-2025-38675

xfrm: state: initialize state_ptrs earlier in xfrm_state_find

Publiée le 22 août 2025 · modifiée le 30 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 20/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: xfrm: state: initialize state_ptrs earlier in xfrm_state_find In case of preemption, xfrm_state_look_at will find a different pcpu_id and look up states for that other CPU. If we matched a state for CPU2 in the state_cache while the lookup started on CPU1, we will jump to "found", but the "best" state that we got will be ignored and we will enter the "acquire" block. This block uses state_ptrs, which isn't initialized at this point. Let's initialize state_ptrs just after taking rcu_read_lock. This will also prevent a possible misuse in the future, if someone adjusts this function.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 6.12.13 (inclus) à 6.12.41 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.191 (inclus) à 6.2 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.120 (inclus) à 6.7 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.13.2 (inclus) à 6.14 (exclu) — CNA (éditeur ou attributeur)
Linux 6.14 — CNA (éditeur ou attributeur)
Linux kernel de 6.12.13 (inclus) à 6.12.41 (exclu) — NVD
Linux kernel de 6.13.2 (inclus) à 6.15.9 (exclu) — NVD
Linux kernel 6.16 — 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:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-362 · Autre (CWE-362)

Comment sont obtenues et calculées ces données