mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init (Linux Linux)

CVE-2023-53195
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init The line cards array is not freed in the error path of mlxsw_m_linecards_init(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxsw_m_linecards_fini().

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 01328e23a476a47179b07125eabac439bc1d5fd3 < d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9 ; affected 01328e23a476a47179b07125eabac439bc1d5fd3 < cd716022c968bc6748f23708b986f845b45791b7 ; affected 01328e23a476a47179b07125eabac439bc1d5fd3 < 08fc75735fda3be97194bfbf3c899c87abb3d0fe
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.39 ≤ 6.1.* ; unaffected 6.4.4 ≤ 6.4.* ; unaffected 6.5 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD