linux-yocto/fs/smb
Sean Heelan 70ad645513 ksmbd: fix use-after-free in session logoff
commit 2fc9feff45 upstream.

The sess->user object can currently be in use by another thread, for
example if another connection has sent a session setup request to
bind to the session being free'd. The handler for that connection could
be in the smb2_sess_setup function which makes use of sess->user.

Signed-off-by: Sean Heelan <seanheelan@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Nazar Kalashnikov <sivartiwe@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-12-07 06:18:54 +09:00
..
client smb: client: fix memory leak in cifs_construct_tcon() 2025-12-07 06:18:51 +09:00
common smb: smbdirect: add smbdirect_socket.h 2025-08-15 12:09:04 +02:00
server ksmbd: fix use-after-free in session logoff 2025-12-07 06:18:54 +09:00
Kconfig
Makefile