diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-16 15:33:04 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 22:38:25 +0900 |
| commit | 6639b6928ba22dd6750ff3c6f6de77715cf46d50 (patch) | |
| tree | 8c3fefc1ffb459ca0a50e1e1342ae07de75acb4d /scripts/stackusage | |
| parent | d8fc4fc7e57fc2bfd45699a10ee0df8ab9dccfa5 (diff) | |
| download | linux-6639b6928ba22dd6750ff3c6f6de77715cf46d50.tar.gz linux-6639b6928ba22dd6750ff3c6f6de77715cf46d50.zip | |
ksmbd: handle encrypted compressed requests
SMB3 permits a message to be compressed before it is encrypted. After
decrypting such a request, ksmbd must trim the AEAD tag using
OriginalMessageSize, decompress the nested compression transform, and
validate the resulting SMB2 PDU.
Share the decompression helper between the connection receive path and
the post-decryption work path so unencrypted and encrypted compressed
requests follow the same validation.
Fixes: a08de24c2b85 ("ksmbd: negotiate and decode SMB2 compression")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
