[PATCH 5.15 220/373] ksmbd: fix potencial out-of-bounds when buffer offset is invalid