Re: [PATCH 0/2] ->flush() fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28/09/2020 14:49, Pavel Begunkov wrote:
> It might fix flush() problems reported by syzkaller, but I haven't
> verified it. Jens, please tell if there was a good reason to have
> io_sq_thread_stop() in io_uring_flush().

It looks like it shouldn't be a problem removing it, because an
sqpoll task sets req->task to itself, and such requests are
cancelled and waited by io_uring_release() if that is required.

> 
> Pavel Begunkov (2):
>   io_uring: fix use-after-free ->files
>   io_uring: fix unsynchronised removal of sq_data
> 
>  fs/io_uring.c | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 

-- 
Pavel Begunkov



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux