← CVE Intelligence

CVE-2023-53418

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected e3d59eff47b8cc385acae9d7fb1c787857023376 before 036ada6ca9eea926abc0b0ef550b10488d66d4d8; affected e3d59eff47b8cc385acae9d7fb1c787857023376 before 7a5fdd8660174a8056de57d1fdce3a7e9f77f60e; affected e3d59eff47b8cc385acae9d7fb1c787857023376 before 72c25eb9ae4993ccac4821354ff34eb1f32e4781; affected e3d59eff47b8cc385acae9d7fb1c787857023376 before e3965acaf3739fde9d74ad82979b46d37c6c208f
Linux / Linuxaffected 5.14; unaffected 0 before 5.14; unaffected 5.15.100 through 5.15.*; unaffected 6.1.18 through 6.1.*; unaffected 6.2.5 through 6.2.*; unaffected 6.3 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.