exit_mmap+0x193/0x750 mm/mmap.c:3198 __mmput+0x128/0x4c0 kernel/fork.c:1180 mmput+0x5c/0x70 kernel/fork.c:1201 exit_mm kernel/exit.c:510 [inline] do_exit+0xa18/0x2a00 kernel/exit.c:782 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x2542/0x2600 kernel/signal.c:2857 arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:1538! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1359 Comm: syz-executor.3 Not tainted 5.19.0-rc3-next-20220624-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:folio_unlock+0x196/0x1d0 mm/filemap.c:1538 Code: de 41 0f 94 c4 44 89 e7 e8 17 e8 d8 ff 41 38 dc 0f 85 23 ff ff ff e8 79 ec d8 ff 48 c7 c6 c0 8f d6 89 48 89 ef e8 1a a8 0e 00 <0f> 0b 48 89 df e8 30 3e 25 00 e9 9a fe ff ff 48 89 df e8 23 3e 25 RSP: 0018:ffffc9000307fcc8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802fac8000 RSI: ffffffff81a1c246 RDI: 0000000000000003 RBP: ffffea00011e8000 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000000 R13: ffff888031c9d3c0 R14: 0000000000000001 R15: ffff88807e0efe58 FS: 0000555556853400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5881b691b8 CR3: 0000000021da5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hugetlb_no_page mm/hugetlb.c:5664 [inline] hugetlb_fault+0x18d5/0x20a0 mm/hugetlb.c:5765 handle_mm_fault+0x661/0x790 mm/memory.c:5164 do_user_addr_fault+0x489/0x1250 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1488 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f48a9e8442f Code: d0 eb 0b 0f 1f 84 00 00 00 00 00 48 89 f8 48 83 fa 10 0f 82 da 00 00 00 48 83 fa 20 0f 87 1f 01 00 00 0f 10 06 0f 10 4c 16 f0 <0f> 11 07 0f 11 4c 17 f0 c3 0f 1f 84 00 00 00 00 00 48 39 d1 0f 82 RSP: 002b:00007ffcdfc80538 EFLAGS: 00010283 RAX: 0000000020000040 RBX: 0000000000000000 RCX: 00000000000004f2 RDX: 0000000000000012 RSI: 00007f48a9fa00c8 RDI: 0000000020000040 RBP: 00007ffcdfc805f8 R08: 00007f48aa3a0000 R09: 00007f48a9fa00b0 R10: 00007ffcdfc80620 R11: 0000000000000246 R12: 0000000000193e41 R13: 00007ffcdfc80620 R14: 00007f48a9f9bf60 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:folio_unlock+0x196/0x1d0 mm/filemap.c:1538 Code: de 41 0f 94 c4 44 89 e7 e8 17 e8 d8 ff 41 38 dc 0f 85 23 ff ff ff e8 79 ec d8 ff 48 c7 c6 c0 8f d6 89 48 89 ef e8 1a a8 0e 00 <0f> 0b 48 89 df e8 30 3e 25 00 e9 9a fe ff ff 48 89 df e8 23 3e 25 RSP: 0018:ffffc9000307fcc8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802fac8000 RSI: ffffffff81a1c246 RDI: 0000000000000003 RBP: ffffea00011e8000 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000000 R13: ffff888031c9d3c0 R14: 0000000000000001 R15: ffff88807e0efe58 FS: 0000555556853400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff43ff691b8 CR3: 0000000021da5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400