Following up Xiaoguang's patch, which is included in the series, patch up when similar bug can happen. There are holes left calling io_cqring_events(), but that's for later. The last patch is a bit different and fixes the new personality grabbing. Pavel Begunkov (4): io_uring: fix racy IOPOLL completions io_uring: fix racy IOPOLL flush overflow io_uring: fix io_cqring_events()'s noflush io_uring: fix mis-seting personality's creds Xiaoguang Wang (1): io_uring: always let io_iopoll_complete() complete polled io. fs/io_uring.c | 52 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 13 deletions(-) -- 2.24.0