------------[ cut here ]------------ WARNING: CPU: 1 PID: 24476 at mm/gup.c:1173 __get_user_pages+0xeaa/0x1290 Modules linked in: CPU: 1 PID: 24476 Comm: syz-executor.3 Not tainted 6.4.0-syzkaller-11478-gd528014517f2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__get_user_pages+0xeaa/0x1290 mm/gup.c:1173 Code: 00 fc ff df 48 8b 5c 24 20 e9 2e fe ff ff e8 2d d7 be ff 4c 8d ac 24 00 01 00 00 48 8b 5c 24 20 e9 38 fe ff ff e8 16 d7 be ff <0f> 0b e9 5b f6 ff ff 48 8b 4c 24 28 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc900038476a0 EFLAGS: 00010283 RAX: ffffffff81cd2aca RBX: 0000000000000100 RCX: 0000000000040000 RDX: ffffc90005d29000 RSI: 00000000000000bb RDI: 00000000000000bc RBP: ffffc90003847830 R08: ffffffff81cd2112 R09: fffffbfff2482ccc R10: dffffc0000000000 R11: fffffbfff2482ccc R12: 00007fffb3a37000 R13: ffffc90003847780 R14: dffffc0000000000 R15: ffffc900038477a0 FS: 00007f275e612700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f275d8ec2f8 CR3: 000000002cf3b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __get_user_pages_locked mm/gup.c:1456 [inline] __gup_longterm_locked+0x495/0x2a80 mm/gup.c:2155 pin_user_pages+0x15d/0x1f0 mm/gup.c:3322 io_pin_pages+0xce/0x260 io_uring/rsrc.c:1046 io_sqe_buffer_register+0x180/0x1990 io_uring/rsrc.c:1085 io_sqe_buffers_register+0x4cf/0x6b0 io_uring/rsrc.c:1203 __io_uring_register io_uring/io_uring.c:4331 [inline] __do_sys_io_uring_register io_uring/io_uring.c:4509 [inline] __se_sys_io_uring_register+0x917/0x1460 io_uring/io_uring.c:4469 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f275d88c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f275e612168 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007f275d9abf80 RCX: 00007f275d88c389 RDX: 0000000020000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f275d8d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 1000000000000110 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb3a56e8f R14: 00007f275e612300 R15: 0000000000022000