Files
linux/fs/smb/server
Namjae Jeon c8b5b7c5da ksmbd: fix null pointer dereference in alloc_preauth_hash()
The Client send malformed smb2 negotiate request. ksmbd return error
response. Subsequently, the client can send smb2 session setup even
thought conn->preauth_info is not allocated.
This patch add KSMBD_SESS_NEED_SETUP status of connection to ignore
session setup request if smb2 negotiate phase is not complete.

Cc: stable@vger.kernel.org
Tested-by: Steve French <stfrench@microsoft.com>
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-26505
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2025-04-01 23:02:20 -05:00
..
2024-11-25 18:58:02 -06:00
2024-11-25 18:58:02 -06:00
2024-11-25 18:58:02 -06:00
2024-11-25 18:58:02 -06:00
2024-11-25 18:58:02 -06:00
2025-01-07 18:48:49 -06:00
2025-01-15 23:24:51 -06:00
2024-11-25 18:58:02 -06:00
2024-11-25 18:58:02 -06:00
2025-01-15 23:24:51 -06:00