[PATCH 6.1 54/73] ksmbd: fix potencial out-of-bounds when buffer offset is invalid