aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-06-15 22:05:29 +0900
committerSteve French <[email protected]>2023-06-16 21:04:51 -0500
commit5005bcb4219156f1bf7587b185080ec1da08518e (patch)
tree1205c29d96ed1aaf774f369681eb4c3dd68a7ea3 /lib/mpi/mpiutil.c
parent5fe7f7b78290638806211046a99f031ff26164e1 (diff)
ksmbd: validate session id and tree id in the compound request
This patch validate session id and tree id in compound request. If first operation in the compound is SMB2 ECHO request, ksmbd bypass session and tree validation. So work->sess and work->tcon could be NULL. If secound request in the compound access work->sess or tcon, It cause NULL pointer dereferecing error. Cc: [email protected] Reported-by: [email protected] # ZDI-CAN-21165 Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions