On Thu, Sep 25, 2025 at 9:14 PM Matvey Kovalev matvey.kovalev@ispras.ru wrote:
If client doesn't negotiate with SMB3.1.1 POSIX Extensions, then proper error code won't be returned due to overwriting.
Return error immediately.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: e2f34481b24db ("cifsd: add server-side procedures for SMB3") Cc: stable@vger.kernel.org Signed-off-by: Matvey Kovalev matvey.kovalev@ispras.ru
Applied it to #ksmbd-for-next-next. Thanks!