[GIT PULL] ksmbd server fixes

Steve French <[email protected]>
Newsgroups org.kernel.vger.linux-cifs,org.kernel.vger.linux-kernel
Message-ID <CAH2r5mtjBVPjsp1bGwhPsVd5cK7hyUSJUbKVtTdv8p85Y=RaAg@mail.gmail.com>
Please pull the following changes since commit
075b74841bd0065a3bda3440873c747938e69b68:

  Linux 7.2-rc6 (2026-08-02 16:24:24 -0700)

are available in the Git repository at:

  git://git.samba.org/ksmbd.git tags/v7.2-rc6-smb3-server-fixes

for you to fetch changes up to ab88cb66cb0028cb8038b64c2fa71b0f3e91d5f2:

  ksmbd: apply the pre-authentication PDU limit when decompressing
(2026-08-03 11:21:22 -0500)

----------------------------------------------------------------
Three compression fixes for ksmbd server
- Reject Pattern_V1 payloads when Pattern_V1 support was not negotiated.
- Validate compression transform flags and chained mode before allocating
  the decompression buffer.
- Enforce the pre-authentication PDU size limit before allocating the
  decompression buffer, preventing compressed requests from bypassing the
  limit.
----------------------------------------------------------------
Anatolii Shumak (2):
      smb: compress: reject Pattern_V1 when not negotiated
      ksmbd: validate compression Flags before kvmalloc

Sujal Tuladhar (1):
      ksmbd: apply the pre-authentication PDU limit when decompressing

 fs/smb/common/compress/compress.c | 11 ++++++++---
 fs/smb/common/compress/compress.h |  3 ++-
 fs/smb/server/compress.c          | 14 ++++++++++++--
 fs/smb/server/connection.c        |  6 +-----
 fs/smb/server/connection.h        |  9 +++++++++
 5 files changed, 32 insertions(+), 11 deletions(-)

-- 
Thanks,

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.