USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0933eca15f5223b5c2412080c8c3de8758465c78, Kernel 30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9, Kernel 73f4451368663ad28daa67980c6dd11d83b303eb and 1 more.
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: gr_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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.14, >=425de3182c91b467f1fc8a0de841d74d866719ca <0933eca15f5223b5c2412080c8c3de8758465c78, >=425de3182c91b467f1fc8a0de841d74d866719ca <30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9, >=425de3182c91b467f1fc8a0de841d74d866719ca <73f4451368663ad28daa67980c6dd11d83b303eb, >=425de3182c91b467f1fc8a0de841d74d866719ca <be21a66e17ee0ab5f3513b6c86659e60cec5e981 | 0933eca15f5223b5c2412080c8c3de8758465c78, 30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9, 73f4451368663ad28daa67980c6dd11d83b303eb, be21a66e17ee0ab5f3513b6c86659e60cec5e981 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket