summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-08-13 17:05:49 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 22:38:25 +0900
commit12a6680ce59bcd431730c9f049caddb017964c64 (patch)
tree6bc9e43909d0edd43e7a38704b2ccb508f8e2237 /scripts/objdiff
parent2a0e037648da5695ab56dace74bda28eb6402b5f (diff)
downloadlinux-12a6680ce59bcd431730c9f049caddb017964c64.tar.gz
linux-12a6680ce59bcd431730c9f049caddb017964c64.zip
ksmbd: disconnect on SMB3 decryption failure
MS-SMB2 requires the server to disconnect a connection when an encrypted transform cannot be associated with a session or fails authenticated decryption. This includes an encrypted request that still carries a SessionId invalidated through PreviousSessionId. Move the connection to EXITING and shut down its transport when decrypt_req() fails. Add the missing TCP shutdown callback so a receive blocked in kernel_recvmsg() is released; SMB Direct already provides the corresponding callback. Plaintext requests using an invalidated SessionId do not take this path and continue to receive STATUS_USER_SESSION_DELETED. Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3") Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions