powerpc/iommu: fix memory leak with using debugfs_lookup() (Linux Linux)

CVE-2023-53097
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/iommu: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.

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 691602aab9c3cce31d3ff9529c09b7922a5f6224 < e3a62a35f903fd8be5b44542fe3901ec45f16757 ; affected 691602aab9c3cce31d3ff9529c09b7922a5f6224 < 24c1bd1cd0d1ff821fd7d2f01a1e648c7882dfc2 ; affected 691602aab9c3cce31d3ff9529c09b7922a5f6224 < 4050498c0ae3946c223fc63e9dd7b878b76611e0 ; affected 691602aab9c3cce31d3ff9529c09b7922a5f6224 < b505063910c134778202dfad9332dfcecb76bab3
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.103 ≤ 5.15.* ; unaffected 6.1.20 ≤ 6.1.* ; unaffected 6.2.7 ≤ 6.2.* ; unaffected 6.3 ≤ *

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