Re: [PATCH 0/2] ksmbd: harden SMB 3.1.1 compression receive path

Namjae Jeon <[email protected]> Sat, 1 Aug 2026 23:38:54 +0900
Newsgroups org.kernel.vger.linux-cifs
Message-ID <CAKYAXd_V0d7bheRZQVCprcSOKUx=r-YxEB8TxP8UOcnjuGk5ig@mail.gmail.com>
On Sat, Aug 1, 2026 at 2:20=E2=80=AFPM Anatolii Shumak
<[email protected]> wrote:
>
> Hi Namjae,
>
> As requested in https://github.com/namjaejeon/ksmbd/issues/529,
> please find two patches:
>
> 1) Reject Pattern_V1 on decompress when it was not negotiated.
> 2) Validate compression Flags before kvmalloc.
>
> Tested on 7.2.0-070200rc5-generic.
>
> Thanks,
> Anatolii Shumak
>
> Anatolii Shumak (2):
>   smb: compress: reject Pattern_V1 when not negotiated
>   ksmbd: validate compression Flags before kvmalloc
Applied it to #ksmbd-for-next-next.
Thanks!