------------[ cut here ]------------ WARNING: CPU: 1 PID: 14862 at mm/gup.c:229 try_grab_page+0x348/0x3f0 mm/gup.c:229 Modules linked in: CPU: 1 PID: 14862 Comm: syz-executor.5 Not tainted 6.4.0-next-20230704-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:try_grab_page+0x348/0x3f0 mm/gup.c:229 Code: 5b 5d 41 5c 41 5d 41 5e c3 e8 54 48 c3 ff be 04 00 00 00 4c 89 ef e8 27 82 16 00 f0 41 ff 45 00 45 31 e4 eb d3 e8 38 48 c3 ff <0f> 0b 41 bc f4 ff ff ff eb c4 e8 29 48 c3 ff be 04 00 00 00 4c 89 RSP: 0000:ffffc90006977328 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffea000040ebc0 RCX: ffffc900154b1000 RDX: 0000000000040000 RSI: ffffffff81c1cb88 RDI: 0000000000000005 RBP: 0000000000290000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffea000040ebc0 R13: ffffea000040ebf4 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f74ff3f5700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020198030 CR3: 000000004d3af000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: follow_page_pte+0x20d/0x1db0 mm/gup.c:651 follow_pmd_mask mm/gup.c:727 [inline] follow_pud_mask mm/gup.c:765 [inline] follow_p4d_mask mm/gup.c:782 [inline] follow_page_mask+0x3c9/0xdc0 mm/gup.c:839 __get_user_pages+0x98f/0x1080 mm/gup.c:1221 __get_user_pages_locked mm/gup.c:1456 [inline] __gup_longterm_locked+0x6f9/0x23e0 mm/gup.c:2150 internal_get_user_pages_fast+0x1728/0x3370 mm/gup.c:3148 pin_user_pages_fast+0xa8/0xf0 mm/gup.c:3254 iov_iter_extract_user_pages lib/iov_iter.c:1768 [inline] iov_iter_extract_pages+0x293/0x18f0 lib/iov_iter.c:1831 extract_user_to_sg lib/scatterlist.c:1123 [inline] extract_iter_to_sg lib/scatterlist.c:1349 [inline] extract_iter_to_sg+0x916/0x1960 lib/scatterlist.c:1339 hash_sendmsg+0x52c/0x1150 crypto/algif_hash.c:117 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0xde/0x190 net/socket.c:748 __sys_sendto+0x254/0x350 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __x64_sys_sendto+0xe1/0x1b0 net/socket.c:2142 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f74fe68c389 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:00007f74ff3f5168 EFLAGS: 00000246