Directory Memory Leak in Linux Kernel Affects Multiple Versions
CVE-2025-40105
What is CVE-2025-40105?
A vulnerability in the Linux kernel allows for a memory leak when user calls to open_by_handle_at() create disconnected directory dentries. This inconsistency may arise due to filesystem corruption or race conditions during renaming. Consequently, new dentries may not be marked as disconnected, leading to potential memory leaks. This situation could trigger issues like the 'Busy inodes after unmount' problem, complicating memory management and filesystem operations. Proper handling of dentry states is crucial to maintain system integrity.
Affected Version(s)
Linux f1ee616214cb22410e939d963bbb2349c2570f02
Linux f1ee616214cb22410e939d963bbb2349c2570f02 < 20863bb7fbb016379f8227122edfabc5c799bc79
Linux f1ee616214cb22410e939d963bbb2349c2570f02 < 8004d4b8cbf1bd68a23c160d57287e177c82cc69