diff options
| author | Matvey Kovalev <matvey.kovalev@ispras.ru> | 2025-09-25 15:12:34 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-15 13:00:22 +0300 |
| commit | b613671dc185c1340829eb935e4ff181336d8414 (patch) | |
| tree | f53152522eae2b5d94a3d64ffb3c8a97ccd215a1 /scripts/gdb/linux/interrupts.py | |
| parent | 5cc679ba0f4505936124cd4179ba66bb0a4bd9f3 (diff) | |
| download | linux-b613671dc185c1340829eb935e4ff181336d8414.tar.xz | |
ksmbd: fix error code overwriting in smb2_get_info_filesystem()
commit 88daf2f448aad05a2e6df738d66fe8b0cf85cee0 upstream.
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>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions
