On 6/1/22 8:28 AM, Pavel Begunkov wrote: > io_fixed_fd_install() can grab uring_lock in the slot allocation path > when called from io-wq, and then call into io_install_fixed_file(), > which will lock it again. Pull all locking out of > io_install_fixed_file() into io_fixed_fd_install(). Subject was a little funky for this one, and I had to hand-apply it since the base was missing that fput fix. Can you check the end result: https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.19&id=61c1b44a21d70d4783db02198fbf68b132f4953c -- Jens Axboe