1. Accueil
  2. Vulnérabilités
  3. CVE-2022-50007

CVE-2022-50007

In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in…

Publiée le 18 juin 2025 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 25/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in __xfrm_policy_check() The issue happens on an error path in __xfrm_policy_check(). When the fetching process of the object `pols[1]` fails, the function simply returns 0, forgetting to decrement the reference count of `pols[0]`, which is incremented earlier by either xfrm_sk_policy_lookup() or xfrm_policy_lookup(). This may result in memory leaks. Fix it by decreasing the reference count of `pols[0]` in that path.

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

Produits et versions affectés

Linux (9 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 2.6.20 (inclus) à 4.9.327 (exclu) — NVD
Linux kernel de 4.10 (inclus) à 4.14.292 (exclu) — NVD
Linux kernel de 4.15 (inclus) à 4.19.257 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.212 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.140 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.64 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 5.19.6 (exclu) — NVD
Linux kernel 2.6.19 — NVD
Linux kernel 6.0 — 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
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-Other · Non classé

Comment sont obtenues et calculées ces données