USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup() (Linux Linux)

CVE-2023-53407
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: pxa27x_udc: 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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8efd88f946017b69af67931a133b6dce92c27fd0 < 8da78a60f3323ce7aac589d49fb82f71a04bc835 ; affected 8efd88f946017b69af67931a133b6dce92c27fd0 < b14d188d0d0b86e2180525aefd570dbb6ebd6aa9 ; affected 8efd88f946017b69af67931a133b6dce92c27fd0 < 67c931a3f2f061bf457995fd21fff114325e0c30 ; affected 8efd88f946017b69af67931a133b6dce92c27fd0 < 7a6952fa0366d4408eb8695af1a0578c39ec718a
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.100 ≤ 5.15.* ; unaffected 6.1.18 ≤ 6.1.* ; unaffected 6.2.5 ≤ 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