medium5.5
CVE-2023-53412
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: bcm63xx_udc: fix memory leak with using debugfs_lookup() When calling debugfs_…
Impact
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: bcm63xx_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/31de0b70ae5661a407e9d578bbc41de2d83ac25d
- https://git.kernel.org/stable/c/a91c99b1fe5c6f7e52fb932ad9e57ec7cfe913ec
- https://git.kernel.org/stable/c/b0a2663ecbe8f65cd3bab2b34dd90156ceb0dbb8
- https://git.kernel.org/stable/c/f30c7046dfa2748520a8045bb43ed2fbca0373b5