]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: fix task leak issue in io_wq_create()
authorPenglei Jiang <superman.xpt@gmail.com>
Sun, 15 Jun 2025 16:39:06 +0000 (09:39 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 15 Jun 2025 18:58:39 +0000 (12:58 -0600)
commit89465d923bda180299e69ee2800aab84ad0ba689
treeffcf14d8cd6ae7c288726e17418b83febd2c9007
parent1d27f11bf02b38c431e49a17dee5c10a2b4c2e28
io_uring: fix task leak issue in io_wq_create()

Add missing put_task_struct() in the error path

Cc: stable@vger.kernel.org
Fixes: 0f8baa3c9802 ("io-wq: fully initialize wqe before calling cpuhp_state_add_instance_nocalls()")
Signed-off-by: Penglei Jiang <superman.xpt@gmail.com>
Link: https://lore.kernel.org/r/20250615163906.2367-1-superman.xpt@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io-wq.c