scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() (Linux Linux)

CVE-2024-35930
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() The call to lpfc_sli4_resume_rpi() in lpfc_rcv_padisc() may return an unsuccessful status. In such cases, the elsiocb is not issued, the completion is not called, and thus the elsiocb resource is leaked. Check return value after calling lpfc_sli4_resume_rpi() and conditionally release the elsiocb resource.

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 6b5151fd7baec6812fece993ddd7a2cf9fd0125f < edf82aa7e9eb864a09229392054d131b34a5c9e8 ; affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f < e2cd32435b1dff3d63759476a3abc878e02fb6c8 ; affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f < c473288f27d15014447de5a891bdf22a0695847a ; affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f < 7849e6f8410da96384e3d1f6b6d730f095142dc7 ; affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f < ee0b5f96b6d66a1e6698228dcb41df11ec7f352f ; affected 6b5151fd7baec6812fece993ddd7a2cf9fd0125f < 07a2aa674fca679316b8ac51440adb895b53a7cf
Linux · Linuxaffected 3.4 ; unaffected 0 < 3.4 ; unaffected 4.19.312 ≤ 4.19.* ; unaffected 5.4.274 ≤ 5.4.* ; unaffected 5.10.215 ≤ 5.10.* ; unaffected 5.15.155 ≤ 5.15.*

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