can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods (Linux Linux)

CVE-2022-49024
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods In m_can_pci_remove() and error handling path of m_can_pci_probe(), m_can_class_free_dev() should be called to free resource allocated by m_can_class_allocate_dev(), otherwise there will be memleak.

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 cab7ffc0324f053c8fb56c821cdd63dc0383270d < ea8dc27bb044e19868155e500ce397007be98656 ; affected cab7ffc0324f053c8fb56c821cdd63dc0383270d < 0bbb88651ef6b7fbb1bf75ec7ba69add632e834b ; affected cab7ffc0324f053c8fb56c821cdd63dc0383270d < 1eca1d4cc21b6d0fc5f9a390339804c0afce9439
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.82 ≤ 5.15.* ; unaffected 6.0.12 ≤ 6.0.* ; unaffected 6.1 ≤ *

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