medium5.5
CVE-2023-53406
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup() When calling debugfs_l…
Impact
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: pxa25x_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/6236a6d2cdfb710bd8a82c4b179d0a034d0d99cb
- https://git.kernel.org/stable/c/78d9586d8e728be1e360d3d0da7170c791d1d55e
- https://git.kernel.org/stable/c/7a038a681b7df78362d9fc7013e5395a694a9d3a
- https://git.kernel.org/stable/c/8d48a7887dbca22e064c20caf20ae7949019fe9b