CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel affects the pds_core module, where the debugfs_lookup() function improperly handles dentry references, leading to a memory leak during firmware reset recovery. Additionally, if CONFIG_DEBUG_FS is disabled, the function can return an error pointer that, if not properly checked, may cause a system crash when dput() is called on it. Linux system administrators and developers should prioritize this issue to prevent potential memory leaks and system instability in their environments.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: pds_core: fix debugfs_lookup dentry leak and error handling debugfs_lookup() returns a dentry with an elevated reference count that must be released with dput(). The current code discards the returned dentry without calling dput(), causing a reference leak on every firmware reset recovery. Additionally, when CONFIG_DEBUG_FS is disabled, debugfs_lookup() returns ERR_PTR(-ENODEV), not NULL. The current check passes for error pointers and would call dput() on an invalid pointer, causing a crash.
Related CVEs
Other vulnerabilities affecting the same vendor(s)