staging: vt6655: fix potential memory leak (Linux Linux)

CVE-2022-50758
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: staging: vt6655: fix potential memory leak In function device_init_td0_ring, memory is allocated for member td_info of priv->apTD0Rings[i], with i increasing from 0. In case of allocation failure, the memory is freed in reversed order, with i decreasing to 0. However, the case i=0 is left out and thus memory is leaked. Modify the memory freeing loop to include the case i=0.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 5341ee0adb17d12a96dc5344e0d267cd12b52135 < e741e38aa98704fbb959650ecd270b71b2670680 ; affected 5341ee0adb17d12a96dc5344e0d267cd12b52135 < 16a45e78a687eb6c69acc4e62b94b6508b0bfbda ; affected 5341ee0adb17d12a96dc5344e0d267cd12b52135 < 1b3cebeca99e8e0aa4fa57faac8dbf41e967317a ; affected 5341ee0adb17d12a96dc5344e0d267cd12b52135 < ff8551d411f12b5abc5ca929ab87643afa8a9588 ; affected 5341ee0adb17d12a96dc5344e0d267cd12b52135 < fb5f569bcda8f87bd47d8030bfae343d757fa3ea ; affected 5341ee0adb17d12a96dc5344e0d267cd12b52135 < cfdf139258614ef65b0f68b857ada5328fb7c0e5
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 4.19.262 ≤ 4.19.* ; unaffected 5.4.220 ≤ 5.4.* ; unaffected 5.10.150 ≤ 5.10.* ; unaffected 5.15.75 ≤ 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