Re: [PATCH] fuse: Fix use-after-free in fuse_dev_do_write()

2018-10-01 Thread Miklos Szeredi
On Tue, Sep 25, 2018 at 11:52 AM, Kirill Tkhai wrote: > After we found req in request_find() and released the lock, > everything may happen with the req in parallel. > > Keep it alive till we finish touch its memory. > > Signed-off-by: Kirill Tkhai Applied. Thanks, Miklos

[PATCH] fuse: Fix use-after-free in fuse_dev_do_write()

2018-09-25 Thread Kirill Tkhai
After we found req in request_find() and released the lock, everything may happen with the req in parallel. Keep it alive till we finish touch its memory. Signed-off-by: Kirill Tkhai --- fs/fuse/dev.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/fuse/dev.c b/fs