__do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd page_owner free stack trace missing ------------[ cut here ]------------ kernel BUG at mm/page_alloc.c:1101! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5528 Comm: syz-executor.4 Not tainted 6.5.0-rc7-next-20230825-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:free_pages_prepare mm/page_alloc.c:1101 [inline] RIP: 0010:free_unref_page_prepare+0x885/0xa40 mm/page_alloc.c:2342 Code: 48 89 d7 e8 2d 32 f4 ff 0f 0b c7 44 24 08 00 00 00 00 4d 8d 77 40 e9 79 fd ff ff 48 c7 c6 c0 be 99 8a 4c 89 ff e8 0b 32 f4 ff <0f> 0b 48 89 ef e8 61 de 0b 00 e9 aa f7 ff ff 4c 89 f7 e8 54 de 0b RSP: 0018:ffffc9000a7278a8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff888024591dc0 RSI: ffffffff81d1ae65 RDI: 0000000000000000 RBP: ffffea0002258008 R08: 0000000000000000 R09: fffffbfff1d9c252 R10: ffffffff8ece1297 R11: 0000000000000bb0 R12: 0000000000089600 R13: 0000000000000009 R14: ffffea0002258040 R15: ffffea0002258000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3632ed71e5 CR3: 000000003da8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_unref_page+0x33/0x3b0 mm/page_alloc.c:2435 __update_and_free_hugetlb_folio+0x3c1/0x4a0 mm/hugetlb.c:1770 update_and_free_hugetlb_folio+0x82/0x120 mm/hugetlb.c:1826 update_and_free_pages_bulk+0xd2/0x230 mm/hugetlb.c:1848 return_unused_surplus_pages+0x232/0x300 mm/hugetlb.c:2643 hugetlb_acct_memory.part.0+0x622/0xa90 mm/hugetlb.c:4801 hugetlb_acct_memory mm/hugetlb.c:4762 [inline] hugetlb_vm_op_close+0x5d5/0x710 mm/hugetlb.c:4871 remove_vma+0x8b/0x170 mm/mmap.c:141 exit_mmap+0x453/0xa60 mm/mmap.c:3234 __mmput+0x12a/0x4d0 kernel/fork.c:1356 mmput+0x62/0x70 kernel/fork.c:1378 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b4/0x2a20 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1033 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7707a7cae9 Code: Unable to access opcode bytes at 0x7f7707a7cabf. RSP: 002b:00007fffad1d9128 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f7707a7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 000000000000090c R09: 0000000000000000 R10: 0000001b31120000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:free_pages_prepare mm/page_alloc.c:1101 [inline] RIP: 0010:free_unref_page_prepare+0x885/0xa40 mm/page_alloc.c:2342 Code: 48 89 d7 e8 2d 32 f4 ff 0f 0b c7 44 24 08 00 00 00 00 4d 8d 77 40 e9 79 fd ff ff 48 c7 c6 c0 be 99 8a 4c 89 ff e8 0b 32 f4 ff <0f> 0b 48 89 ef e8 61 de 0b 00 e9 aa f7 ff ff 4c 89 f7 e8 54 de 0b RSP: 0018:ffffc9000a7278a8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff888024591dc0 RSI: ffffffff81d1ae65 RDI: 0000000000000000 RBP: ffffea0002258008 R08: 0000000000000000 R09: fffffbfff1d9c252 R10: ffffffff8ece1297 R11: 0000000000000bb0 R12: 0000000000089600 R13: 0000000000000009 R14: ffffea0002258040 R15: ffffea0002258000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3632ed71e5 CR3: 0000000029f96000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400