cassini: Fix a memory leak in the error handling path of cas_init_one() (Linux Linux)

CVE-2023-53435
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: cassini: Fix a memory leak in the error handling path of cas_init_one() cas_saturn_firmware_init() allocates some memory using vmalloc(). This memory is freed in the .remove() function but not it the error handling path of the probe. Add the missing vfree() to avoid a memory leak, should an error occur.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 < 11c0ed097a874156957b515d0ba7e356142eab87 ; affected fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 < 60d8e8b88087d68e10c8991a0f6733fa2f963ff0 ; affected fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 < e20105d967ab5b53ff50a0e5991fe37324d2ba20 ; affected fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 < dc61f7582cc92d547d02e141cd66f5d1f4ed8012 ; affected fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 < 234e744d86bd95b381d24546df2dba72804e0219 ; affected fcaa40669cd798ca2ac0d15441e8a1d1145f2b16 < 172146c26f0c1b86ab4e9ebffc7e06f04229fa17
Linux · Linuxaffected 2.6.28 ; unaffected 0 < 2.6.28 ; unaffected 4.14.316 ≤ 4.14.* ; unaffected 4.19.284 ≤ 4.19.* ; unaffected 5.4.244 ≤ 5.4.* ; unaffected 5.10.181 ≤ 5.10.*

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