Re: [syzbot] KASAN: use-after-free Read in add_wait_queue

From: Jens Axboe
Date: Tue Mar 22 2022 - 20:08:23 EST


On 3/22/22 5:37 PM, syzbot wrote:
> syzbot has bisected this issue to:
>
> commit 91eac1c69c202d9dad8bf717ae5b92db70bfe5cf
> Author: Jens Axboe <axboe@xxxxxxxxx>
> Date: Wed Mar 16 22:59:10 2022 +0000
>
> io_uring: cache poll/double-poll state with a request flag
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1280c825700000
> start commit: b47d5a4f6b8d Merge tag 'audit-pr-20220321' of git://git.ke..
> git tree: upstream
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1180c825700000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1680c825700000
> kernel config: https://syzkaller.appspot.com/x/.config?x=63af44f0631a5c3a
> dashboard link: https://syzkaller.appspot.com/bug?extid=950cee6d91e62329be2c
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14506ddb700000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=139b2093700000
>
> Reported-by: syzbot+950cee6d91e62329be2c@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 91eac1c69c20 ("io_uring: cache poll/double-poll state with a request flag")
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

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

All three reports are the same thing...

--
Jens Axboe