linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] ksmbd fixes
@ 2021-09-09 21:59 Steve French
  2021-09-09 23:18 ` Steve French
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Steve French @ 2021-09-09 21:59 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: CIFS, LKML, Namjae Jeon

Please pull the following changes since commit
9c849ce86e0fa93a218614eac562ace44053d7ce:

  Merge tag '5.15-rc-smb3-fixes-part1' of
git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/5.15-rc-ksmbd-part2

for you to fetch changes up to 4cf0ccd033d9cedef870eb8598a55851e680a173:

  ksmbd: fix control flow issues in sid_to_id() (2021-09-08 17:16:13 -0500)

----------------------------------------------------------------
18 ksmbd fixes including:
- various fixes pointed out by coverity, and a minor cleanup patch
- id mapping and ownership fixes
- an smbdirect fix

----------------------------------------------------------------
Christian Brauner (11):
      ksmbd: fix lookup on idmapped mounts
      ksmbd: fix translation in smb2_populate_readdir_entry()
      ksmbd: fix translation in create_posix_rsp_buf()
      ksmbd: fix translation in ksmbd_acls_fattr()
      ksmbd: fix translation in acl entries
      ksmbd: fix subauth 0 handling in sid_to_id()
      ksmbd: fix translation in sid_to_id()
      ndr: fix translation in ndr_encode_posix_acl()
      ksmbd: ensure error is surfaced in set_file_basic_info()
      ksmbd: remove setattr preparations in set_file_basic_info()
      ksmbd: defer notify_change() call

Colin Ian King (1):
      ksmbd: add missing assignments to ret on ndr_read_int64 read calls

Hyunchul Lee (1):
      ksmbd: smbd: fix dma mapping error in smb_direct_post_send_data

Namjae Jeon (4):
      ksmbd: remove unused ksmbd_file_table_flush function
      ksmbd: add validation for ndr read/write functions
      ksmbd: fix read of uninitialized variable ret in set_file_basic_info
      ksmbd: fix control flow issues in sid_to_id()

Per Forlin (1):
      ksmbd: Reduce error log 'speed is unknown' to debug

 fs/ksmbd/ndr.c            | 383
++++++++++++++++++++++++++++++++++++--------------
 fs/ksmbd/oplock.c         |   6 +-
 fs/ksmbd/smb2pdu.c        |  69 +++++----
 fs/ksmbd/smb_common.c     |   4 +-
 fs/ksmbd/smb_common.h     |   1 -
 fs/ksmbd/smbacl.c         |  79 +++++++----
 fs/ksmbd/smbacl.h         |  25 ++++
 fs/ksmbd/transport_rdma.c |   2 +-
 fs/ksmbd/vfs.c            |  47 ++++---
 fs/ksmbd/vfs.h            |   3 +-
 fs/ksmbd/vfs_cache.c      |  16 ---
 fs/ksmbd/vfs_cache.h      |   1 -
 12 files changed, 413 insertions(+), 223 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-09-09 21:59 [GIT PULL] ksmbd fixes Steve French
@ 2021-09-09 23:18 ` Steve French
  2021-09-09 23:21 ` Linus Torvalds
  2021-09-09 23:23 ` pr-tracker-bot
  2 siblings, 0 replies; 14+ messages in thread
From: Steve French @ 2021-09-09 23:18 UTC (permalink / raw)
  Cc: CIFS, LKML, Namjae Jeon

Buildbot regression tests passed:

http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/59

On Thu, Sep 9, 2021 at 4:59 PM Steve French <smfrench@gmail.com> wrote:
>
> Please pull the following changes since commit
> 9c849ce86e0fa93a218614eac562ace44053d7ce:
>
>   Merge tag '5.15-rc-smb3-fixes-part1' of
> git://git.samba.org/sfrench/cifs-2.6 (2021-08-31 09:22:37 -0700)
>
> are available in the Git repository at:
>
>   git://git.samba.org/ksmbd.git tags/5.15-rc-ksmbd-part2
>
> for you to fetch changes up to 4cf0ccd033d9cedef870eb8598a55851e680a173:
>
>   ksmbd: fix control flow issues in sid_to_id() (2021-09-08 17:16:13 -0500)
>
> ----------------------------------------------------------------
> 18 ksmbd fixes including:
> - various fixes pointed out by coverity, and a minor cleanup patch
> - id mapping and ownership fixes
> - an smbdirect fix
>
> ----------------------------------------------------------------
> Christian Brauner (11):
>       ksmbd: fix lookup on idmapped mounts
>       ksmbd: fix translation in smb2_populate_readdir_entry()
>       ksmbd: fix translation in create_posix_rsp_buf()
>       ksmbd: fix translation in ksmbd_acls_fattr()
>       ksmbd: fix translation in acl entries
>       ksmbd: fix subauth 0 handling in sid_to_id()
>       ksmbd: fix translation in sid_to_id()
>       ndr: fix translation in ndr_encode_posix_acl()
>       ksmbd: ensure error is surfaced in set_file_basic_info()
>       ksmbd: remove setattr preparations in set_file_basic_info()
>       ksmbd: defer notify_change() call
>
> Colin Ian King (1):
>       ksmbd: add missing assignments to ret on ndr_read_int64 read calls
>
> Hyunchul Lee (1):
>       ksmbd: smbd: fix dma mapping error in smb_direct_post_send_data
>
> Namjae Jeon (4):
>       ksmbd: remove unused ksmbd_file_table_flush function
>       ksmbd: add validation for ndr read/write functions
>       ksmbd: fix read of uninitialized variable ret in set_file_basic_info
>       ksmbd: fix control flow issues in sid_to_id()
>
> Per Forlin (1):
>       ksmbd: Reduce error log 'speed is unknown' to debug
>
>  fs/ksmbd/ndr.c            | 383
> ++++++++++++++++++++++++++++++++++++--------------
>  fs/ksmbd/oplock.c         |   6 +-
>  fs/ksmbd/smb2pdu.c        |  69 +++++----
>  fs/ksmbd/smb_common.c     |   4 +-
>  fs/ksmbd/smb_common.h     |   1 -
>  fs/ksmbd/smbacl.c         |  79 +++++++----
>  fs/ksmbd/smbacl.h         |  25 ++++
>  fs/ksmbd/transport_rdma.c |   2 +-
>  fs/ksmbd/vfs.c            |  47 ++++---
>  fs/ksmbd/vfs.h            |   3 +-
>  fs/ksmbd/vfs_cache.c      |  16 ---
>  fs/ksmbd/vfs_cache.h      |   1 -
>  12 files changed, 413 insertions(+), 223 deletions(-)
>
> --
> Thanks,
>
> Steve



-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-09-09 21:59 [GIT PULL] ksmbd fixes Steve French
  2021-09-09 23:18 ` Steve French
@ 2021-09-09 23:21 ` Linus Torvalds
  2021-09-09 23:23 ` pr-tracker-bot
  2 siblings, 0 replies; 14+ messages in thread
From: Linus Torvalds @ 2021-09-09 23:21 UTC (permalink / raw)
  To: Steve French; +Cc: CIFS, LKML, Namjae Jeon

On Thu, Sep 9, 2021 at 2:59 PM Steve French <smfrench@gmail.com> wrote:
>
> 18 ksmbd fixes including:

Sigh.. The text in the tag says 19.

But 18 was indeed correct.

For next time, if you're not quite certain, git can help you with these things:

   git rev-list --count --no-merges linus..

or similar.

But the important part is just the overview of what's actually going
on, not the number of patches. I tend to mostly edit that out anyway.

                Linus

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-09-09 21:59 [GIT PULL] ksmbd fixes Steve French
  2021-09-09 23:18 ` Steve French
  2021-09-09 23:21 ` Linus Torvalds
@ 2021-09-09 23:23 ` pr-tracker-bot
  2 siblings, 0 replies; 14+ messages in thread
From: pr-tracker-bot @ 2021-09-09 23:23 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, CIFS, LKML, Namjae Jeon

The pull request you sent on Thu, 9 Sep 2021 16:59:10 -0500:

> git://git.samba.org/ksmbd.git tags/5.15-rc-ksmbd-part2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bf9f243f23e6623f310ba03fbb14e10ec3a61290

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2022-01-20  6:14 Steve French
@ 2022-01-20 11:59 ` pr-tracker-bot
  0 siblings, 0 replies; 14+ messages in thread
From: pr-tracker-bot @ 2022-01-20 11:59 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, Namjae Jeon, CIFS, LKML

The pull request you sent on Thu, 20 Jan 2022 00:14:38 -0600:

> git://git.samba.org/ksmbd.git tags/5.17-rc-ksmbd-server-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/67ed868d23711e9cec9e8adb7ae5596ae76f7cbb

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [GIT PULL] ksmbd fixes
@ 2022-01-20  6:14 Steve French
  2022-01-20 11:59 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Steve French @ 2022-01-20  6:14 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Namjae Jeon, CIFS, LKML

Please pull the following changes since commit
fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2:

  Linux 5.16-rc7 (2021-12-26 13:17:17 -0800)

are available in the Git repository at:

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

for you to fetch changes up to ac090d9c90b087d6fb714e54b2a6dd1e6c373ed6:

  ksmbd: fix guest connection failure with nautilus (2022-01-18 16:53:20 -0600)

----------------------------------------------------------------
23 ksmbd server fixes, 2 for stable
- authentication fix
- 7 RDMA (smbdirect) fixes (including fix for a memory corruption, and
some performance improvements)
- multiple improvements for multichannel
- misc fixes including for 3 for crediting (flow control) improvements
- 5 cleanup fixes, including 3 kernel doc fixes

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/98
----------------------------------------------------------------
Dan Carpenter (1):
      ksmbd: uninitialized variable in create_socket()

Hyunchul Lee (6):
      ksmbd: use oid registry functions to decode OIDs
      ksmbd: register ksmbd ib client with ib_register_client()
      ksmbd: smbd: call rdma_accept() under CM handler
      ksmbd: smbd: create MR pool
      ksmbd: smbd: change the default maximum read/write, receive size
      ksmbd: smbd: fix missing client's memory region invalidation

Marios Makassikis (2):
      ksmbd: Remove unused parameter from smb2_get_name()
      ksmbd: Remove unused fields from ksmbd_file struct definition

Namjae Jeon (9):
      ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO
      ksmbd: set both ipv4 and ipv6 in FSCTL_QUERY_NETWORK_INTERFACE_INFO
      ksmbd: fix multi session connection failure
      ksmbd: set 445 port to smbdirect port by default
      ksmbd: add support for smb2 max credit parameter
      ksmbd: move credit charge deduction under processing request
      ksmbd: limits exceeding the maximum allowable outstanding requests
      ksmbd: add reserved room in ipc request/response
      ksmbd: fix guest connection failure with nautilus

Yang Li (4):
      ksmbd: Fix buffer_check_err() kernel-doc comment
      ksmbd: Fix smb2_set_info_file() kernel-doc comment
      ksmbd: Delete an invalid argument description in
smb2_populate_readdir_entry()
      ksmbd: Fix smb2_get_name() kernel-doc comment

Yufan Chen (1):
      ksmbd: add smb-direct shutdown

 fs/ksmbd/asn1.c              | 142 +++++--------------------------
 fs/ksmbd/auth.c              |  27 +++---
 fs/ksmbd/auth.h              |  10 +--
 fs/ksmbd/connection.c        |  10 ++-
 fs/ksmbd/connection.h        |  12 +--
 fs/ksmbd/ksmbd_netlink.h     |  12 ++-
 fs/ksmbd/mgmt/user_config.c  |  10 +++
 fs/ksmbd/mgmt/user_config.h  |   1 +
 fs/ksmbd/mgmt/user_session.h |   1 -
 fs/ksmbd/smb2misc.c          |  18 ++--
 fs/ksmbd/smb2ops.c           |  16 +++-
 fs/ksmbd/smb2pdu.c           | 222
++++++++++++++++++++++++++----------------------
 fs/ksmbd/smb2pdu.h           |   1 +
 fs/ksmbd/smb_common.h        |   1 +
 fs/ksmbd/transport_ipc.c     |   2 +
 fs/ksmbd/transport_rdma.c    | 261
++++++++++++++++++++++++++++++++++++++++++++-------------
 fs/ksmbd/transport_rdma.h    |   4 +-
 fs/ksmbd/transport_tcp.c     |   3 +-
 fs/ksmbd/vfs_cache.h         |  10 ---
 19 files changed, 429 insertions(+), 334 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-12-24  0:45 Steve French
@ 2021-12-24  1:22 ` pr-tracker-bot
  0 siblings, 0 replies; 14+ messages in thread
From: pr-tracker-bot @ 2021-12-24  1:22 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, Namjae Jeon, CIFS, LKML

The pull request you sent on Thu, 23 Dec 2021 18:45:52 -0600:

> git://git.samba.org/ksmbd.git tags/5.16-rc5-ksmbd-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7a29b11da9651ef6a970e2f6bfd276f053aeb06a

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [GIT PULL] ksmbd fixes
@ 2021-12-24  0:45 Steve French
  2021-12-24  1:22 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Steve French @ 2021-12-24  0:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Namjae Jeon, CIFS, LKML

Please pull the following changes since commit
2585cf9dfaaddf00b069673f27bb3f8530e2039c:

  Linux 5.16-rc5 (2021-12-12 14:53:01 -0800)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/5.16-rc5-ksmbd-fixes

for you to fetch changes up to 83912d6d55be10d65b5268d1871168b9ebe1ec4b:

  ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1 (2021-12-17
19:19:45 -0600)

----------------------------------------------------------------
Three ksmbd fixes, all for stable.
- Two fix potential uninitialized memory
- One fixes a security problem where encryption ends up
unintentionally disabled from some clients

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/97
----------------------------------------------------------------
Dan Carpenter (1):
      ksmbd: fix error code in ndr_read_int32()

Marcos Del Sol Vives (1):
      ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1

Namjae Jeon (1):
      ksmbd: fix uninitialized symbol 'pntsd_size'

 fs/ksmbd/ndr.c     |  2 +-
 fs/ksmbd/smb2ops.c |  3 ---
 fs/ksmbd/smb2pdu.c | 29 +++++++++++++++++++++++++----
 3 files changed, 26 insertions(+), 8 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-11-12 16:19 Steve French
@ 2021-11-13 19:44 ` pr-tracker-bot
  0 siblings, 0 replies; 14+ messages in thread
From: pr-tracker-bot @ 2021-11-13 19:44 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, Namjae Jeon, CIFS, LKML

The pull request you sent on Fri, 12 Nov 2021 10:19:05 -0600:

> git://git.samba.org/ksmbd.git tags/5.16-rc-ksmbd-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/a613224169f916755aadf5b97c31b122ce070a88

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [GIT PULL] ksmbd fixes
@ 2021-11-12 16:19 Steve French
  2021-11-13 19:44 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Steve French @ 2021-11-12 16:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Namjae Jeon, CIFS, LKML

Please pull the following changes since commit
b5013d084e03e82ceeab4db8ae8ceeaebe76b0eb:

  Merge tag '5.16-rc-part1-smb3-client-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2021-11-06 16:47:53 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/5.16-rc-ksmbd-fixes

for you to fetch changes up to 26a2787d45c5af8ffe0f986c01c36bc9111aa9be:

  ksmbd: Use the SMB3_Create definitions from the shared (2021-11-11
19:22:58 -0600)

----------------------------------------------------------------
15 smb server fixes: 3 for stable
- important fix for validate negotiate
- fix alignment check in packet validation
- cleanup of dead code (like MD4)
- refactoring some protocol headers to use common code in smbfs_common

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/93
----------------------------------------------------------------
Christophe JAILLET (1):
      ksmbd: Remove redundant 'flush_workqueue()' calls

Marios Makassikis (1):
      ksmbd: Fix buffer length check in fsctl_validate_negotiate_info()

Namjae Jeon (6):
      ksmbd: don't need 8byte alignment for request length in
ksmbd_check_message
      ksmbd: set unique value to volume serial field in FS_VOLUME_INFORMATION
      ksmbd: remove md4 leftovers
      ksmbd: remove smb2_buf_length in smb2_hdr
      ksmbd: remove smb2_buf_length in smb2_transform_hdr
      ksmbd: change LeaseKey data type to u8 array

Ralph Boehme (3):
      ksmbd: use ksmbd_req_buf_next() in ksmbd_verify_smb_message()
      ksmbd: use ksmbd_req_buf_next() in ksmbd_smb2_check_message()
      ksmdb: use cmd helper variable in smb2_get_ksmbd_tcon()

Ronnie Sahlberg (4):
      ksmbd: switch to use shared definitions where available
      ksmbd: use the common definitions for NEGOTIATE_PROTOCOL
      ksmbd: Move more definitions into the shared area
      ksmbd: Use the SMB3_Create definitions from the shared

 fs/ksmbd/Kconfig          |   2 +-
 fs/ksmbd/auth.c           |  11 +-
 fs/ksmbd/connection.c     |  11 +-
 fs/ksmbd/ksmbd_work.c     |   1 -
 fs/ksmbd/ksmbd_work.h     |   4 +-
 fs/ksmbd/oplock.c         |  48 ++--
 fs/ksmbd/oplock.h         |   2 -
 fs/ksmbd/server.c         |   2 +-
 fs/ksmbd/smb2misc.c       |  16 +-
 fs/ksmbd/smb2ops.c        |   9 +-
 fs/ksmbd/smb2pdu.c        | 591 +++++++++++++++++++-------------------
 fs/ksmbd/smb2pdu.h        | 696 ++-------------------------------------------
 fs/ksmbd/smb_common.c     |  13 +-
 fs/ksmbd/smb_common.h     |  55 +---
 fs/ksmbd/transport_rdma.c |   3 +-
 fs/ksmbd/vfs.c            |   8 +-
 fs/ksmbd/vfs.h            |  39 ---
 17 files changed, 372 insertions(+), 1139 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-10-23 15:06 Steve French
@ 2021-10-24 17:12 ` pr-tracker-bot
  0 siblings, 0 replies; 14+ messages in thread
From: pr-tracker-bot @ 2021-10-24 17:12 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, Namjae Jeon, CIFS, LKML

The pull request you sent on Sat, 23 Oct 2021 10:06:41 -0500:

> git://git.samba.org/ksmbd.git tags/5.15-rc6-ksmbd-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c460e7896e6906d4e154f2e7fb7f40d46edbd006

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [GIT PULL] ksmbd fixes
@ 2021-10-23 15:06 Steve French
  2021-10-24 17:12 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Steve French @ 2021-10-23 15:06 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Namjae Jeon, CIFS, LKML

Please pull the following changes since commit
64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc:

  Linux 5.15-rc5 (2021-10-10 17:01:59 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/5.15-rc6-ksmbd-fixes

for you to fetch changes up to 0d994cd482ee4e8e851388a70869beee51be1c54:

  ksmbd: add buffer validation in session setup (2021-10-20 00:07:10 -0500)

----------------------------------------------------------------
Ten fixes for the ksmbd kernel server:
- a security improvement to session establishment to reduce the
possibility of dictionary attacks
- fix to ensure that maximum i/o size negotiated in the protocol is
not less than 64K and not more than 8MB to better match expected
behavior
- fix for crediting (flow control) important to properly verify that
sufficient credits are available for the requested operation
- seven additional buffer overflow, buffer validation checks

Regression test results for current linux-next:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/89
----------------------------------------------------------------
Hyunchul Lee (3):
      ksmbd: improve credits management
      ksmbd: add buffer validation for smb direct
      ksmbd: validate OutputBufferLength of QUERY_DIR, QUERY_INFO,
IOCTL requests

Marios Makassikis (1):
      ksmbd: add buffer validation in session setup

Namjae Jeon (5):
      ksmbd: add validation in smb2_ioctl
      ksmbd: fix potencial 32bit overflow from data area check in smb2_write
      ksmbd: validate compound response buffer
      ksmbd: limit read/write/trans buffer size not to exceed 8MB
      ksmbd: throttle session setup failures to avoid dictionary attacks

Ralph Boehme (1):
      ksmbd: validate credit charge after validating SMB2 PDU body size

 fs/ksmbd/auth.c             |  16 +-
 fs/ksmbd/connection.c       |   2 +
 fs/ksmbd/ksmbd_netlink.h    |   2 +
 fs/ksmbd/mgmt/user_config.c |   2 +-
 fs/ksmbd/mgmt/user_config.h |   1 +
 fs/ksmbd/smb2misc.c         |  55 ++++---
 fs/ksmbd/smb2ops.c          |   3 +
 fs/ksmbd/smb2pdu.c          | 346 ++++++++++++++++++++++++++++---------------
 fs/ksmbd/smb2pdu.h          |   2 +
 fs/ksmbd/transport_ipc.c    |   3 +-
 fs/ksmbd/transport_ipc.h    |   2 +-
 fs/ksmbd/transport_rdma.c   |  21 ++-
 fs/ksmbd/vfs.c              |   2 +-
 fs/ksmbd/vfs.h              |   2 +-
 14 files changed, 306 insertions(+), 153 deletions(-)

-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [GIT PULL] ksmbd fixes
  2021-10-09  4:59 Steve French
@ 2021-10-09 22:05 ` pr-tracker-bot
  0 siblings, 0 replies; 14+ messages in thread
From: pr-tracker-bot @ 2021-10-09 22:05 UTC (permalink / raw)
  To: Steve French; +Cc: Linus Torvalds, Namjae Jeon, CIFS, LKML

The pull request you sent on Fri, 8 Oct 2021 23:59:17 -0500:

> git://git.samba.org/ksmbd.git tags/5.15-rc4-ksmbd-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c75de8453c3e2f8a8fcee9171118b7da29d3fb9c

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [GIT PULL] ksmbd fixes
@ 2021-10-09  4:59 Steve French
  2021-10-09 22:05 ` pr-tracker-bot
  0 siblings, 1 reply; 14+ messages in thread
From: Steve French @ 2021-10-09  4:59 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Namjae Jeon, CIFS, LKML

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-01-20 11:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 21:59 [GIT PULL] ksmbd fixes Steve French
2021-09-09 23:18 ` Steve French
2021-09-09 23:21 ` Linus Torvalds
2021-09-09 23:23 ` pr-tracker-bot
2021-10-09  4:59 Steve French
2021-10-09 22:05 ` pr-tracker-bot
2021-10-23 15:06 Steve French
2021-10-24 17:12 ` pr-tracker-bot
2021-11-12 16:19 Steve French
2021-11-13 19:44 ` pr-tracker-bot
2021-12-24  0:45 Steve French
2021-12-24  1:22 ` pr-tracker-bot
2022-01-20  6:14 Steve French
2022-01-20 11:59 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).