[PATCH openEuler-5.10-LTS 5/9] ksmbd: prevent out of bound read for SMB2_WRITE