Re: [syzbot] [io-uring?] WARNING in io_pin_pages

From: Pavel Begunkov
Date: Fri Nov 22 2024 - 10:02:02 EST


On 11/22/24 10:51, syzbot wrote:
Hello,

syzbot found the following issue on:

HEAD commit: ae58226b89ac Add linux-next specific files for 20241118
git tree: linux-next
console+strace: https://syzkaller.appspot.com/x/log.txt?x=14a67378580000
kernel config: https://syzkaller.appspot.com/x/.config?x=45719eec4c74e6ba
dashboard link: https://syzkaller.appspot.com/bug?extid=2159cbb522b02847c053
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=137beac0580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=177beac0580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/fd3d650cd6b6/disk-ae58226b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/89a0fb674130/vmlinux-ae58226b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/92120e1c6775/bzImage-ae58226b.xz

The issue was bisected to:

commit 68685fa20edc5307fc893a06473c19661c236f29
Author: Pavel Begunkov <asml.silence@xxxxxxxxx>
Date: Fri Nov 15 16:54:38 2024 +0000

io_uring: fortify io_pin_pages with a warning

Seems I wasn't too paranoid. I'll send a fix

--
Pavel Begunkov