[GIT PULL] ksmbd server fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please pull the following changes since commit
6995e2de6891c724bfeb2db33d7b87775f913ad1:

  Linux 6.4 (2023-06-25 16:29:58 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/6.5-rc-ksmbd-server-fixes-part1

for you to fetch changes up to 9cedc58bdbe9fff9aacd0ca19ee5777659f28fd7:

  ksmbd: avoid field overflow warning (2023-06-28 22:58:28 -0500)

----------------------------------------------------------------
11 ksmbd server fixes
- two fixes for compounding bugs (make sure no out of bound reads with
less common combinations of commands in the compound)
- eight minor cleanup patches (e.g. simplifying return values, replace one
element array, use of kzalloc where simpler)
- fix for clang warning on possible overflow in filename conversion
----------------------------------------------------------------
Arnd Bergmann (1):
      ksmbd: avoid field overflow warning

Gustavo A. R. Silva (2):
      ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
      ksmbd: Replace one-element array with flexible-array member

Lu Hongfei (2):
      ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
      ksmbd: Replace the ternary conditional operator with min()

Namjae Jeon (6):
      ksmbd: remove unused ksmbd_tree_conn_share function
      ksmbd: use kzalloc() instead of __GFP_ZERO
      ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
      ksmbd: use kvzalloc instead of kvmalloc
      ksmbd: fix out of bounds read in smb2_sess_setup
      ksmbd: add missing compound request handing in some commands

 fs/smb/server/mgmt/tree_connect.c |  11 ----------
 fs/smb/server/mgmt/tree_connect.h |   3 ---
 fs/smb/server/smb2pdu.c           | 121
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------
 fs/smb/server/smb_common.c        |   8 ++++----
 fs/smb/server/smb_common.h        |   2 +-
 fs/smb/server/smbacl.c            |   2 +-
 fs/smb/server/transport_ipc.c     |   4 ++--
 fs/smb/server/vfs.c               |  12 ++++-------
 fs/smb/server/vfs.h               |   2 +-
 9 files changed, 88 insertions(+), 77 deletions(-)

-- 
Thanks,

Steve



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux