In the Linux kernel, the following vulnerability has been resolved: staging: pi433: fix memory leak with using debugfslookup() When calling debugfslookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfslookupand_remove() instead which handles all of the logic at once. This requires saving off the root directory dentry to make creation of individual device subdirectories easier.