[PATCH 5.15 393/532] ksmbd: fix out-of-bound read in smb2_write