------------[ cut here ]------------ WARNING: CPU: 1 PID: 3508 at io_uring/memmap.c:143 io_pin_pages+0xc0/0xd0 io_uring/memmap.c:143 Modules linked in: CPU: 1 UID: 0 PID: 3508 Comm: syz.3.15 Not tainted 6.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:io_pin_pages+0xc0/0xd0 io_uring/memmap.c:143 Code: ff 4c 89 ff e8 21 b8 a7 ff 4c 63 fd 4c 89 f8 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 49 c7 c7 ea ff ff ff eb e3 90 <0f> 0b 90 49 c7 c7 b5 ff ff ff eb d6 0f 1f 40 00 90 90 90 90 90 90 RSP: 0018:ffffc90001c63da8 EFLAGS: 00010a06 RAX: 00000001ffe00000 RBX: fff0000000000091 RCX: 0000000000090040 RDX: ffffc90001c63ddc RSI: 0000000000090040 RDI: ffffffffffff0000 RBP: 00000000ffffffea R08: 0000000000000000 R09: 0005800000000000 R10: 0000000000000000 R11: ffffffff81042fa0 R12: 0000000000080040 R13: 0000000000000000 R14: ffff888103793908 R15: ffff888103793900 FS: 00007f48a5c8e6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48a4f078d0 CR3: 0000000106b40000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __io_uaddr_map+0x62/0x100 io_uring/memmap.c:182 io_rings_map io_uring/io_uring.c:2611 [inline] io_allocate_scq_urings+0xa9/0x170 io_uring/io_uring.c:3471 io_uring_create+0x1ce/0x300 io_uring/io_uring.c:3693 io_uring_setup io_uring/io_uring.c:3782 [inline] __do_sys_io_uring_setup io_uring/io_uring.c:3809 [inline] __se_sys_io_uring_setup+0x16c/0x180 io_uring/io_uring.c:3803 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xe0/0x1f0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f48a4f7e759 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f48a5c8dfc8 EFLAGS: 00000202 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 00007f48a5135f80 RCX: 00007f48a4f7e759 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000002c0c RBP: 0000000020000400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000002c0c R15: 0000000000000000