Linux Kernel Debugfs dentry Leak and Error Handling Issue
CVE-2026-64147

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
19 July 2026

What is CVE-2026-64147?

A vulnerability in the Linux kernel's debugfs mechanism allows for a dentry leak due to improper handling of reference counts. The function debugfs_lookup() returns a dentry with an elevated reference count that must be released properly using dput(). The existing implementation fails to release the dentry during firmware reset recovery, leading to a persistent reference leak. Additionally, when CONFIG_DEBUG_FS is not enabled, the function correctly returns an error pointer (ERR_PTR(-ENODEV)). However, the current error handling logic can mistakenly attempt to call dput() on an invalid pointer, resulting in system crashes. This vulnerability highlights the need for improved memory management and error handling in kernel-level code.

Affected Version(s)

Linux 2bbf2b1c20f934a054172175ccbabcc01fe69ef6 < 60ef1675b652e912f3eb064767af4432393291fd

Linux bc90fbe0c3182157d2be100a2f6c2edbb1820677 < 26e19622c485e53c3fdb299e822068a0542ddf0c

Linux bc90fbe0c3182157d2be100a2f6c2edbb1820677 < 91d13e92b983e6c6d7631012c2e20ae8057de9f2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.