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

From: syzbot
Date: Wed Mar 23 2022 - 01:00:18 EST


Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+cd301bb6523ea8cc8ca2@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 7d58de1a io_uring: don't recycle provided buffer if pu..
git tree: git://git.kernel.dk/linux-block for-5.18/io_uring
kernel config: https://syzkaller.appspot.com/x/.config?x=198493467201ec16
dashboard link: https://syzkaller.appspot.com/bug?extid=cd301bb6523ea8cc8ca2
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2

Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.