medium5.5
CVE-2023-53418
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup() When calling debugfs_…
Impact
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: lpc32xx_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.
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/036ada6ca9eea926abc0b0ef550b10488d66d4d8
- https://git.kernel.org/stable/c/72c25eb9ae4993ccac4821354ff34eb1f32e4781
- https://git.kernel.org/stable/c/7a5fdd8660174a8056de57d1fdce3a7e9f77f60e
- https://git.kernel.org/stable/c/e3965acaf3739fde9d74ad82979b46d37c6c208f