PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors (Linux Linux)

CVE-2022-50146
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors If dw_pcie_ep_init() fails to perform any action after the EPC memory is initialized and the MSI memory region is allocated, the latter parts won't be undone thus causing a memory leak. Add a cleanup-on-error path to fix these leaks. [bhelgaas: commit log]

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 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < e7599a5974d4c64eaae8009c3f2e47b9e3223e07 ; affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < b03a8f1264ea8c363bec9ef6e37b467f27cb04ea ; affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < 2d546db5c80c45cac3ccd929550244fd58f4ff58 ; affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < 3b453f5d06d1f1d6b20a75ea51dc7b53ae78f479 ; affected 2fd0c9d966cc11bb5f73556dd788d12f501d8755 < 8161e9626b50892eaedbd8070ecb1586ecedb109
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 5.10.137 ≤ 5.10.* ; unaffected 5.15.61 ≤ 5.15.* ; unaffected 5.18.18 ≤ 5.18.* ; unaffected 5.19.2 ≤ 5.19.*

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