Re: [syzbot] general protection fault in io_kill_timeouts

From: Pavel Begunkov
Date: Wed Mar 23 2022 - 15:37:04 EST


On 3/23/22 18:47, syzbot wrote:
syzbot has bisected this issue to:

commit c9be622494c012d56c71e00cb90be841820c3e34
Author: Pavel Begunkov <asml.silence@xxxxxxxxx>
Date: Mon Mar 21 22:02:20 2022 +0000

io_uring: remove extra ifs around io_commit_cqring

Already found and fixed something pretty similar

#syz test: git://git.kernel.dk/linux-block for-5.18/io_uring


bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15a04739700000
start commit: b61581ae229d Add linux-next specific files for 20220323
git tree: linux-next
final oops: https://syzkaller.appspot.com/x/report.txt?x=17a04739700000
console output: https://syzkaller.appspot.com/x/log.txt?x=13a04739700000
kernel config: https://syzkaller.appspot.com/x/.config?x=def28433baf109ed
dashboard link: https://syzkaller.appspot.com/bug?extid=f252f28df734e8521387
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=117d3a43700000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15538925700000

Reported-by: syzbot+f252f28df734e8521387@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: c9be622494c0 ("io_uring: remove extra ifs around io_commit_cqring")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

--
Pavel Begunkov