Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: scsi: snic: 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 1be4ec2456a7d110092ad8cc918eef75b878ec4e before 5a46d8bdaf03e8a4bb83f0c363326d9aa66cc122; affected 1be4ec2456a7d110092ad8cc918eef75b878ec4e before 3dec769caf337c55814fbf79ec8c91a3cce23bf3; affected 1be4ec2456a7d110092ad8cc918eef75b878ec4e before 995424f59ab52fb432b26ccb3abced63745ea041; affected 1be4ec2456a7d110092ad8cc918eef75b878ec4e before ad0e4e2fab928477f74d742e6e77d79245d3d3e7 |
| Linux / Linux | affected 5.14; unaffected 0 before 5.14; unaffected 5.15.99 through 5.15.*; unaffected 6.1.16 through 6.1.*; unaffected 6.2.3 through 6.2.*; unaffected 6.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/5a46d8bdaf03e8a4bb83f0c363326d9aa66cc122
- https://git.kernel.org/stable/c/3dec769caf337c55814fbf79ec8c91a3cce23bf3
- https://git.kernel.org/stable/c/995424f59ab52fb432b26ccb3abced63745ea041
- https://git.kernel.org/stable/c/ad0e4e2fab928477f74d742e6e77d79245d3d3e7
ADP enrichment
No English description supplied.
No references supplied.