USB: isp1362: fix memory leak with using debugfs_lookup()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
USB: isp1362: 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.
From the CVE record · Linux
The Linux kernel’s USB isp1362 component can leak memory over time because it does not release the result of debugfs_lookup(). The input does not specify whether an attacker can trigger the leak, or what access or user interaction would be required.
Engineers running the Linux kernel should check whether their version includes the USB isp1362 fix; affected versions are not specified.