medium5.5
CVE-2023-53402
In the Linux kernel, the following vulnerability has been resolved: kernel/printk/index.c: fix memory leak with using debugfs_lookup() When calling debugfs_loo…
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | before 5.15.100 from 5.16 before 6.1.18 from 6.2 before 6.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/13969236b6900b5a3625ad2193569588e978f1cc
- https://git.kernel.org/stable/c/2e07fa2e30d48d24a791483774a3d4b76769e0cf
- https://git.kernel.org/stable/c/55bf243c514553e907efcf2bda92ba090eca8c64
- https://git.kernel.org/stable/c/c578a68ffcdc2e8c72556bebdaae2b7500398e81