[GIT PULL] ksmbd fixes
From: Steve French
Date: Sat Oct 09 2021 - 00:59:33 EST
Please pull the following changes since commit
9e1ff307c779ce1f0f810c7ecce3d95bbae40896:
Linux 5.15-rc4 (2021-10-03 14:08:47 -0700)
are available in the Git repository at:
git://git.samba.org/ksmbd.git tags/5.15-rc4-ksmbd-fixes
for you to fetch changes up to 64e7875560270b8f669fca9fcd6a689fea56fbeb:
ksmbd: fix oops from fuse driver (2021-10-07 10:18:36 -0500)
----------------------------------------------------------------
Six fixes for the ksmbd kernel server, including:
- two additional fixes for missing overflow checks
- some cleanup (e.g. remove dead code for less secure dialects that
has been removed, and clarify overflow checks in smb3 decryption)
- update ksmbd internal module version
- fix for an oops
regression test results from current Linux to ksmbd:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/79
----------------------------------------------------------------
Namjae Jeon (6):
ksmbd: add the check to vaildate if stream protocol length
exceeds maximum value
ksmbd: check strictly data area in ksmbd_smb2_check_message()
ksmbd: remove the leftover of smb2.0 dialect support
ksmbd: use buf_data_size instead of recalculation in smb3_decrypt_req()
ksmbd: fix version mismatch with out of tree
ksmbd: fix oops from fuse driver
fs/ksmbd/connection.c | 10 +++---
fs/ksmbd/glob.h | 2 +-
fs/ksmbd/smb2misc.c | 98
++++++++++++++++++++++++++++-------------------------------
fs/ksmbd/smb2ops.c | 5 ---
fs/ksmbd/smb2pdu.c | 59 +++++++++++------------------------
fs/ksmbd/smb2pdu.h | 1 -
fs/ksmbd/smb_common.c | 12 ++------
fs/ksmbd/smb_common.h | 4 +--
8 files changed, 77 insertions(+), 114 deletions(-)
--
Thanks,
Steve