A vulnerability in the Linux kernel's ksmbd component allowed a write-only client to open existing named streams without read permission, leading to improper handling of extended attributes (xattrs). This could cause the system to incorrectly replace existing xattrs with empty values when access errors occur, potentially leading to unintended data modification. The issue has been resolved by preserving listing errors and restricting stream creation to specific error conditions, ensuring that access denied errors are correctly reported and preventing unauthorized stream overwrites.