Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drivers: base: dd: 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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2942df675128b156b0bc8571e2cb2d006fc26e84 before 7f1e53f88e8babf293ec052b70aa9d2a3554360c; affected 2942df675128b156b0bc8571e2cb2d006fc26e84 before 5a7a9efdb193d3c8a35821548a8e99612c358828; affected 2942df675128b156b0bc8571e2cb2d006fc26e84 before 8e47e2bf78812adbd73c45c941d3c51add30b58d; affected 2942df675128b156b0bc8571e2cb2d006fc26e84 before 36c893d3a759ae7c91ee7d4871ebfc7504f08c40 |
| Linux / Linux | affected 5.13; unaffected 0 before 5.13; unaffected 5.15.100 through 5.15.*; unaffected 6.1.18 through 6.1.*; unaffected 6.2.5 through 6.2.*; unaffected 6.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/7f1e53f88e8babf293ec052b70aa9d2a3554360c
- https://git.kernel.org/stable/c/5a7a9efdb193d3c8a35821548a8e99612c358828
- https://git.kernel.org/stable/c/8e47e2bf78812adbd73c45c941d3c51add30b58d
- https://git.kernel.org/stable/c/36c893d3a759ae7c91ee7d4871ebfc7504f08c40
ADP enrichment
No English description supplied.
No references supplied.