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

CVE-2023-53418
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: lpc32xx_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 e3d59eff47b8cc385acae9d7fb1c787857023376 < 036ada6ca9eea926abc0b0ef550b10488d66d4d8 ; affected e3d59eff47b8cc385acae9d7fb1c787857023376 < 7a5fdd8660174a8056de57d1fdce3a7e9f77f60e ; affected e3d59eff47b8cc385acae9d7fb1c787857023376 < 72c25eb9ae4993ccac4821354ff34eb1f32e4781 ; affected e3d59eff47b8cc385acae9d7fb1c787857023376 < e3965acaf3739fde9d74ad82979b46d37c6c208f
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