[PATCH 6.6 067/102] ksmbd: fix potencial out-of-bounds when buffer offset is invalid