← CVE Intelligence

CVE-2023-53402

kernel/printk/index.c: fix memory leak with using debugfs_lookup() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: kernel/printk/index.c: 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 337015573718b161891a3473d25f59273f2e626b before 2e07fa2e30d48d24a791483774a3d4b76769e0cf; affected 337015573718b161891a3473d25f59273f2e626b before c578a68ffcdc2e8c72556bebdaae2b7500398e81; affected 337015573718b161891a3473d25f59273f2e626b before 13969236b6900b5a3625ad2193569588e978f1cc; affected 337015573718b161891a3473d25f59273f2e626b before 55bf243c514553e907efcf2bda92ba090eca8c64
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; 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.