{"id":"CVE-2023-53405","summary":"USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: gadget: gr_udc: fix memory leak with using debugfs_lookup()\n\nWhen calling debugfs_lookup() the result must have dput() called on it,\notherwise the memory will leak over time.  To make things simpler, just\ncall debugfs_lookup_and_remove() instead which handles all of the logic\nat once.","modified":"2026-04-02T09:44:08.990867Z","published":"2025-09-18T13:58:44.401Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53405.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0933eca15f5223b5c2412080c8c3de8758465c78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73f4451368663ad28daa67980c6dd11d83b303eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be21a66e17ee0ab5f3513b6c86659e60cec5e981"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53405.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53405"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"425de3182c91b467f1fc8a0de841d74d866719ca"},{"fixed":"30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9"},{"fixed":"be21a66e17ee0ab5f3513b6c86659e60cec5e981"},{"fixed":"0933eca15f5223b5c2412080c8c3de8758465c78"},{"fixed":"73f4451368663ad28daa67980c6dd11d83b303eb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53405.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}