diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-04 18:21:33 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:28 +0900 |
| commit | 7019a11f79dc408f2b47b1027240e7f198784c9a (patch) | |
| tree | 84d0bbc33b0440b052223aa60042de65481f6ef8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8d3ae59288f1e7d58d76558a6ee96d533bc5019f (diff) | |
ksmbd: reject SMB3.1.1 binding with mismatched cipher
SMB3.1.1 multichannel connections belonging to the same session must use
the same negotiated encryption cipher.
ksmbd validates the dialect and client GUID during session binding, but
does not compare the cipher negotiated by the new connection with the
cipher used by the existing session channels. This allows a channel
negotiated with AES-128-CCM to bind to a session using AES-128-GCM.
Compare the new connection's cipher with an existing session channel and
return STATUS_INVALID_PARAMETER when they differ.
This fixes smb2.session.bind_negative_smb3encGtoCs.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
