summary refs log tree commit diff
path: root/tools/objtool/arch/x86
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2021-09-22 21:00:57 +0900
committerSteve French <stfrench@microsoft.com>2021-09-22 17:21:05 -0500
commit18a015bccf9e8927008d0a255c9f14b8ec15a648 (patch)
tree4ec713a6049d0090903a0ae37bfe4547d9fc7dc3 /tools/objtool/arch/x86
parent9f6323311c7064414bfd1edb28e0837baf6b3c7f (diff)
downloadlinux-18a015bccf9e8927008d0a255c9f14b8ec15a648.tar.gz
ksmbd: check protocol id in ksmbd_verify_smb_message()
When second smb2 pdu has invalid protocol id, ksmbd doesn't detect it
and allow to process smb2 request. This patch add the check it in
ksmbd_verify_smb_message() and don't use protocol id of smb2 request as
protocol id of response.

Reviewed-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reported-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/objtool/arch/x86')
0 files changed, 0 insertions, 0 deletions