Hi Linus, Two fixes from Pavel headed to stable: - Ensure that the task state is correct before attempting to grab a mutex - Split cancel sequence flag into a separate variable, as it can get set by someone not owning the request (but holding the ctx lock) Please pull! The following changes since commit 73254a297c2dd094abec7c9efee32455ae875bdf: io_uring: fix possible deadlock in io_register_iowq_max_workers() (2024-06-04 07:39:17 -0600) are available in the Git repository at: git://git.kernel.dk/linux.git tags/io_uring-6.10-20240614 for you to fetch changes up to f4a1254f2a076afb0edd473589bf40f9b4d36b41: io_uring: fix cancellation overwriting req->flags (2024-06-13 19:25:28 -0600) ---------------------------------------------------------------- io_uring-6.10-20240614 ---------------------------------------------------------------- Pavel Begunkov (2): io_uring/rsrc: don't lock while !TASK_RUNNING io_uring: fix cancellation overwriting req->flags include/linux/io_uring_types.h | 3 ++- io_uring/cancel.h | 4 ++-- io_uring/io_uring.c | 1 + io_uring/rsrc.c | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) -- Jens Axboe