------------[ cut here ]------------ kernel BUG at mm/page_table_check.c:145! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 26217 Comm: syz-executor.0 Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:__page_table_check_zero+0x2ce/0x4a0 mm/page_table_check.c:145 Code: 58 fa ff ff e8 b3 42 9a ff 48 ff cb e9 b5 fd ff ff e8 a6 42 9a ff 48 ff cb e9 27 fe ff ff e8 99 42 9a ff 0f 0b e8 92 42 9a ff <0f> 0b e8 8b 42 9a ff 0f 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 RSP: 0018:ffffc9000acc7128 EFLAGS: 00010293 RAX: ffffffff81f3c7de RBX: 0000000000000001 RCX: ffff88801839d940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888014a3c068 R08: ffffffff81f3c6f5 R09: 1ffff1100294780d R10: dffffc0000000000 R11: ffffed100294780e R12: 0000000000000000 R13: 1ffffffff23eb75c R14: 0000000000000000 R15: ffff888014a3c028 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65c2561000 CR3: 00000000309f9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare+0x8d7/0x9f0 mm/page_alloc.c:2312 free_unref_page_list+0x596/0x830 mm/page_alloc.c:2451 release_pages+0x2113/0x23f0 mm/swap.c:1042 tlb_batch_pages_flush mm/mmu_gather.c:98 [inline] tlb_flush_mmu_free mm/mmu_gather.c:293 [inline] tlb_flush_mmu+0x34c/0x4e0 mm/mmu_gather.c:300 zap_pte_range mm/memory.c:1534 [inline] zap_pmd_range mm/memory.c:1573 [inline] zap_pud_range mm/memory.c:1602 [inline] zap_p4d_range mm/memory.c:1623 [inline] unmap_page_range+0x29dc/0x3320 mm/memory.c:1644 unmap_vmas+0x2b8/0x460 mm/memory.c:1731 exit_mmap+0x297/0xc50 mm/mmap.c:3210 __mmput+0x115/0x3c0 kernel/fork.c:1349 exit_mm+0x21f/0x300 kernel/exit.c:567 do_exit+0x9af/0x2650 kernel/exit.c:861 do_group_exit+0x206/0x2c0 kernel/exit.c:1024 get_signal+0x175d/0x1840 kernel/signal.c:2892 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2bc2e7cae9 Code: Unable to access opcode bytes at 0x7f2bc2e7cabf. RSP: 002b:00007fff0f0e1f28 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 0000000000108e0c RCX: 00007f2bc2e7cae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2bc2f9bf8c RBP: 0000000000000032 R08: 00007f2bc2f9bf8c R09: 00007f2bc2f9bf8c R10: 00007fff0f0e2060 R11: 0000000000000246 R12: 00007f2bc2f9bf8c R13: 0000000000108e3e R14: 00007fff0f0e2080 R15: 00007fff0f0e2060 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__page_table_check_zero+0x2ce/0x4a0 mm/page_table_check.c:145 Code: 58 fa ff ff e8 b3 42 9a ff 48 ff cb e9 b5 fd ff ff e8 a6 42 9a ff 48 ff cb e9 27 fe ff ff e8 99 42 9a ff 0f 0b e8 92 42 9a ff <0f> 0b e8 8b 42 9a ff 0f 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 RSP: 0018:ffffc9000acc7128 EFLAGS: 00010293 RAX: ffffffff81f3c7de RBX: 0000000000000001 RCX: ffff88801839d940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888014a3c068 R08: ffffffff81f3c6f5 R09: 1ffff1100294780d R10: dffffc0000000000 R11: ffffed100294780e R12: 0000000000000000 R13: 1ffffffff23eb75c R14: 0000000000000000 R15: ffff888014a3c028 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc4e0b78038 CR3: 00000000309f9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400