On 7/2/24 6:48 PM, Pei Li wrote: > Acquire ctx->completion_lock in io_add_aux_cqe(). > > syzbot reports a warning message in io_cqring_event_overflow(). We were > supposed to hold ctx->completion_lock before entering this function, but > instead we did not. > > This patch acquires and releases ctx->completion_lock when entering and > exiting io_add_aux_cqe(). Thanks for sending a patch, but Pavel already fixed it: https://git.kernel.dk/cgit/linux/commit/?h=for-6.11/io_uring&id=3b7c16be30e35ec035b2efcc0f7d7b368789c443 -- Jens Axboe