Message ID | 20230405000827.2250965-2-cascardo@canonical.com |
---|---|
State | New |
Headers | show |
Series | CVE-2023-0468 | expand |
diff --git a/fs/io_uring.c b/fs/io_uring.c index 5d533c94b593..6cb2d435decf 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5553,6 +5553,9 @@ static int io_poll_check_events(struct io_kiocb *req, bool locked) return 0; } + /* force the next iteration to vfs_poll() */ + req->result = 0; + /* * Release all references, retry if someone tried to restart * task_work while we were executing it.