[GIT PULL] ksmbd server fixes
From: Steve French
Date: Thu Aug 06 2026 - 22:14:00 EST
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