CVE Database›Document archive›CVE-2023-53405

CVE-2023-53405

kernel: USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · September 18, 2025

Updated · June 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

USB: gadget: gr_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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified