A vulnerability in the Linux kernel's ksmbd component allows an authenticated client with certain permissions to remove the share root directory by exploiting empty path handling during link creation. This occurs when a FileLinkInformation request uses "/" as the new link name, leading to an empty path passed internally and improper removal of the share root. The issue is fixed by rejecting empty pathnames when removal is intended.