page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1453 [inline] free_pcp_prepare+0x4d0/0x910 mm/page_alloc.c:1503 free_unref_page_prepare mm/page_alloc.c:3401 [inline] free_unref_page+0x1d/0x490 mm/page_alloc.c:3496 free_contig_range+0xb5/0x180 mm/page_alloc.c:9544 destroy_args+0x6c4/0x920 mm/debug_vm_pgtable.c:1023 debug_vm_pgtable+0x242a/0x4640 mm/debug_vm_pgtable.c:1403 do_one_initcall+0x141/0x7d0 init/main.c:1306 do_initcall_level init/main.c:1379 [inline] do_initcalls init/main.c:1395 [inline] do_basic_setup init/main.c:1414 [inline] kernel_init_freeable+0x5ec/0x900 init/main.c:1634 kernel_init+0x1e/0x2c0 init/main.c:1522 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 ------------[ cut here ]------------ kernel BUG at mm/mmu_gather.c:139! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5118 Comm: syz-fuzzer Not tainted 6.2.0-rc7-next-20230206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__tlb_remove_page_size+0x24c/0x480 mm/mmu_gather.c:139 Code: 01 00 00 8b 6d 0c e9 e1 fe ff ff e8 de 62 c1 ff 0f 0b e8 d7 62 c1 ff 4c 89 f7 48 c7 c6 40 7a 58 8a 48 83 e7 fc e8 64 0b fa ff <0f> 0b e8 bd 62 c1 ff 4c 8d 6b 24 48 b8 00 00 00 00 00 fc ff df 4c RSP: 0018:ffffc90003d9f890 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90003d9fb18 RCX: 0000000000000000 RDX: ffff8880232f57c0 RSI: ffffffff81c302bc RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8e757017 R10: fffffbfff1ceae02 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffffea00011426c0 R15: ffffc90003d9fb40 FS: 000000c0111c0090(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f731fc11718 CR3: 0000000072802000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __tlb_remove_page include/asm-generic/tlb.h:472 [inline] zap_pte_range mm/memory.c:1416 [inline] zap_pmd_range mm/memory.c:1536 [inline] zap_pud_range mm/memory.c:1565 [inline] zap_p4d_range mm/memory.c:1586 [inline] unmap_page_range+0x1226/0x3ce0 mm/memory.c:1607 unmap_single_vma+0x194/0x2a0 mm/memory.c:1653 zap_page_range_single+0x2e8/0x4a0 mm/memory.c:1727 madvise_dontneed_single_vma mm/madvise.c:803 [inline] madvise_dontneed_free mm/madvise.c:896 [inline] madvise_vma_behavior+0x1370/0x20c0 mm/madvise.c:1035 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1260 do_madvise.part.0+0x24a/0x340 mm/madvise.c:1439 do_madvise mm/madvise.c:1452 [inline] __do_sys_madvise mm/madvise.c:1452 [inline] __se_sys_madvise mm/madvise.c:1450 [inline] __x64_sys_madvise+0x117/0x150 mm/madvise.c:1450 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:0x4675b7 Code: 8b 24 24 48 8b 6c 24 10 48 83 c4 18 c3 cc cc cc cc cc cc 48 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 48 c7 c0 1c 00 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 RSP: 002b:000000c00060de18 EFLAGS: 00000202 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 0000000000200000 RCX: 00000000004675b7 RDX: 0000000000000004 RSI: 0000000000200000 RDI: 000000c029c00000 RBP: 000000c00060de58 R08: 0000000000200000 R09: 0000000000000100 R10: 0000000000000100 R11: 0000000000000202 R12: 00007f0a63459000 R13: 0000000000005380 R14: 000000c012281380 R15: 0000000000001018 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__tlb_remove_page_size+0x24c/0x480 mm/mmu_gather.c:139 Code: 01 00 00 8b 6d 0c e9 e1 fe ff ff e8 de 62 c1 ff 0f 0b e8 d7 62 c1 ff 4c 89 f7 48 c7 c6 40 7a 58 8a 48 83 e7 fc e8 64 0b fa ff <0f> 0b e8 bd 62 c1 ff 4c 8d 6b 24 48 b8 00 00 00 00 00 fc ff df 4c RSP: 0018:ffffc90003d9f890 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffc90003d9fb18 RCX: 0000000000000000 RDX: ffff8880232f57c0 RSI: ffffffff81c302bc RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8e757017 R10: fffffbfff1ceae02 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffffea00011426c0 R15: ffffc90003d9fb40 FS: 000000c0111c0090(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f731fc11718 CR3: 0000000072802000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400