original_kernel/fs/smb/server/mgmt
Namjae Jeon a677ebd8ca ksmbd: validate payload size in ipc response
If installing malicious ksmbd-tools, ksmbd.mountd can return invalid ipc
response to ksmbd kernel server. ksmbd should validate payload size of
ipc response from ksmbd.mountd to avoid memory overrun or
slab-out-of-bounds. This patch validate 3 ipc response that has payload.

Cc: stable@vger.kernel.org
Reported-by: Chao Ma <machao2019@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-04-02 09:21:01 -05:00
..
ksmbd_ida.c
ksmbd_ida.h
share_config.c ksmbd: validate payload size in ipc response 2024-04-02 09:21:01 -05:00
share_config.h
tree_connect.c
tree_connect.h
user_config.c
user_config.h
user_session.c
user_session.h