File Handle Management Vulnerability in Linux Kernel's SMB Server
CVE-2026-99792
What is CVE-2026-99792?
A vulnerability in the Linux kernel's SMB server allows for improper management of file handles after a tree disconnect. When a tree connection is closed, file handles should be released appropriately to avoid scenarios where a file can be published after it is expected to be closed. This flaw can lead to use-after-free issues, where a file still points to a freed tree connection, potentially causing unstable behavior and security risks. The recent resolution involves ensuring that the tree connection is correctly marked and removed before closing the associated files, thereby securing the lifecycle management of file handles and preventing unauthorized file publications.
Affected Version(s)
Linux f44158485826c076335d6860d35872271a83791d
Linux f44158485826c076335d6860d35872271a83791d < 2ff3730998b015b5b0a3f28330bee16c648dd114
Linux 5.15