]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/zcrx: init id for xa_find
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 27 May 2025 15:27:57 +0000 (16:27 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 May 2025 16:09:15 +0000 (10:09 -0600)
commiteda4623cf989d033c07355be1469e44f321ce8ae
tree13383625187fe86d2509ce0e14753f1d4dd4c759
parent44ed0f35df343d00b8d38006854f96e333104a66
io_uring/zcrx: init id for xa_find

xa_find() interprets id as the lower bound and thus expects it initialised.

Reported-by: syzbot+c3ff04150c30d3df0f57@syzkaller.appspotmail.com
Fixes: 76f1cc98b23ce ("io_uring/zcrx: add support for multiple ifqs")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/faea44ef63131e6968f635e1b6b7ca6056f1f533.1748359655.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c