{"id":"CVE-2023-53402","summary":"kernel/printk/index.c: fix memory leak with using debugfs_lookup()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nkernel/printk/index.c: 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.615028Z","published":"2025-09-18T13:58:42.207Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53402.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/13969236b6900b5a3625ad2193569588e978f1cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e07fa2e30d48d24a791483774a3d4b76769e0cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/55bf243c514553e907efcf2bda92ba090eca8c64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c578a68ffcdc2e8c72556bebdaae2b7500398e81"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53402.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53402"},{"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":"337015573718b161891a3473d25f59273f2e626b"},{"fixed":"2e07fa2e30d48d24a791483774a3d4b76769e0cf"},{"fixed":"c578a68ffcdc2e8c72556bebdaae2b7500398e81"},{"fixed":"13969236b6900b5a3625ad2193569588e978f1cc"},{"fixed":"55bf243c514553e907efcf2bda92ba090eca8c64"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53402.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"}]}