summaryrefslogtreecommitdiff
path: root/rust/zerocopy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-02 19:50:26 +0900
committerSteve French <stfrench@microsoft.com>2026-07-06 07:55:41 -0500
commitfaf8578c77f3d846aca9cd882c293e03eafcc6df (patch)
tree7b98e619ee7f0bfd649d24b369aecf41f1e02410 /rust/zerocopy/git@git.tavy.me:linux-stable.git
parent9e8ad620ddfde5a5f4ef58372e3805e9388cb0f4 (diff)
ksmbd: find bound sessions during reauthentication
A session bound to an additional connection is stored in the session channel list, but it is not added to that connection's local session table. After the binding exchange completes, conn->binding is cleared. A later SESSION_SETUP reauthentication on the bound channel only searches the local session table. It fails to find the session and returns STATUS_USER_SESSION_DELETED instead of processing authentication and returning STATUS_LOGON_FAILURE for invalid credentials. If the local lookup fails, look up the session globally and accept it only when the current connection is registered in its channel list. This keeps unbound connections from using the session while allowing reauthentication on an established channel. This fixes smb2.session.bind_invalid_auth. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions