Thread (2 messages) 2 messages, 2 authors, 2021-03-19

Re: [PATCH] cifsd: Fix a use after free on error path

From: Sergey Senozhatsky <hidden>
Date: 2021-03-19 04:43:36
Also in: linux-cifs, lkml

On (21/03/18 16:12), Dan Carpenter wrote:
The ksmbd_free_work_struct() frees "work" so we need to swap the order
of these two function calls to avoid a use after free.

Fixes: cabcebc31de4 ("cifsd: introduce SMB3 kernel server")
Signed-off-by: Dan Carpenter <redacted>
Thanks.

Reviewed-by: Sergey Senozhatsky <redacted>

	-ss
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help