summaryrefslogtreecommitdiff
path: root/kernel/kprobes.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-03-13 10:00:58 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-25 11:06:02 +0100
commit6ebef4a220a1ebe345de899ebb9ae394206fe921 (patch)
tree0bd1fde283f90726ce5640002d1a856f68679013 /kernel/kprobes.c
parent9229709ec8bf85ae7ca53aeee9aa14814cdc1bd2 (diff)
downloadlinux-6ebef4a220a1ebe345de899ebb9ae394206fe921.tar.gz
linux-6ebef4a220a1ebe345de899ebb9ae394206fe921.tar.bz2
linux-6ebef4a220a1ebe345de899ebb9ae394206fe921.zip
ksmbd: unset conn->binding on failed binding request
commit 282343cf8a4a5a3603b1cb0e17a7083e4a593b03 upstream. When a multichannel SMB2_SESSION_SETUP request with SMB2_SESSION_REQ_FLAG_BINDING fails ksmbd sets conn->binding = true but never clears it on the error path. This leaves the connection in a binding state where all subsequent ksmbd_session_lookup_all() calls fall back to the global sessions table. This fix it by clearing conn->binding = false in the error path. Cc: stable@vger.kernel.org Reported-by: Hyunwoo Kim <imv4bel@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions