ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1130 [inline] free_unref_page_prepare+0x476/0xa40 mm/page_alloc.c:2342 free_unref_page+0x33/0x3b0 mm/page_alloc.c:2435 free_contig_range+0xb6/0x190 mm/page_alloc.c:6372 destroy_args+0x768/0x990 mm/debug_vm_pgtable.c:1028 debug_vm_pgtable+0x1d7e/0x3e00 mm/debug_vm_pgtable.c:1408 do_one_initcall+0x117/0x630 init/main.c:1232 do_initcall_level init/main.c:1294 [inline] do_initcalls init/main.c:1310 [inline] do_basic_setup init/main.c:1329 [inline] kernel_init_freeable+0x5c2/0x900 init/main.c:1547 kernel_init+0x1c/0x2a0 init/main.c:1437 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 ------------[ cut here ]------------ kernel BUG at mm/page_alloc.c:1101! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 13882 Comm: syz-executor.1 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:ffffc9000a2f74a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff88801caf1dc0 RSI: ffffffff81d1ae65 RDI: 0000000000000000 RBP: ffffea0001fc0008 R08: 0000000000000000 R09: fffffbfff1d9c252 R10: ffffffff8ece1297 R11: 0000000000000000 R12: 000000000007f000 R13: 0000000000000009 R14: ffffea0001fc0040 R15: ffffea0001fc0000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4b2575198 CR3: 000000003be1f000 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 free_huge_folio+0x6e0/0xbb0 mm/hugetlb.c:1922 release_pages+0x51b/0x14e0 mm/swap.c:1008 __folio_batch_release+0x77/0xe0 mm/swap.c:1062 folio_batch_release include/linux/pagevec.h:83 [inline] remove_inode_hugepages+0xb7b/0xe20 fs/hugetlbfs/inode.c:691 hugetlbfs_evict_inode+0x22/0x70 fs/hugetlbfs/inode.c:703 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput.part.0+0x55e/0x7a0 fs/inode.c:1801 iput+0x5c/0x80 fs/inode.c:1791 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401 __dentry_kill+0x3b8/0x640 fs/dcache.c:607 dentry_kill fs/dcache.c:733 [inline] dput+0x8dd/0xfd0 fs/dcache.c:913 __fput+0x536/0xa70 fs/file_table.c:392 task_work_run+0x14d/0x240 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa99/0x2a20 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23d1/0x27b0 kernel/signal.c:2892 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4a72c7cae9 Code: Unable to access opcode bytes at 0x7f4a72c7cabf. RSP: 002b:00007f4a73a2e178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4a72d9bf88 RCX: 00007f4a72c7cae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4a72d9bf88 RBP: 00007f4a72d9bf80 R08: 00007f4a73a2e6c0 R09: 00007f4a73a2e6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4a72d9bf8c R13: 000000000000000b R14: 00007ffc633457b0 R15: 00007ffc63345898 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:ffffc9000a2f74a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff88801caf1dc0 RSI: ffffffff81d1ae65 RDI: 0000000000000000 RBP: ffffea0001fc0008 R08: 0000000000000000 R09: fffffbfff1d9c252 R10: ffffffff8ece1297 R11: 0000000000000000 R12: 000000000007f000 R13: 0000000000000009 R14: ffffea0001fc0040 R15: ffffea0001fc0000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4b2575198 CR3: 000000003be1f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400