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

CVE-2025-37788

cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path

Publiée le 1 mai 2025 · modifiée le 5 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 25/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path In the for loop used to allocate the loc_array and bmap for each port, a memory leak is possible when the allocation for loc_array succeeds, but the allocation for bmap fails. This is because when the control flow goes to the label free_eth_finfo, only the allocations starting from (i-1)th iteration are freed. Fix that by freeing the loc_array in the bmap allocation error path.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 5.9 — CNA (éditeur ou attributeur)
Linux kernel de 5.9 (inclus) à 5.10.237 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.181 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.135 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.88 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.25 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.14.4 (exclu) — NVD
Linux kernel 6.15 — NVD
Debian (1 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 11.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
CNA (éditeur ou attributeur)
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
CWE-401 · Autre (CWE-401)

Comment sont obtenues et calculées ces données