------------[ cut here ]------------ kernel BUG at mm/page_table_check.c:80! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6571 Comm: syz-executor240 Not tainted 6.3.0-syzkaller-11733-g825a0714d2b3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:page_table_check_clear.part.0+0x31c/0x380 mm/page_table_check.c:80 Code: c1 43 04 8d 58 ff 31 ff 89 de e8 3f 62 a2 ff 85 db 0f 89 7c fe ff ff e8 12 66 a2 ff 0f 0b e8 0b 66 a2 ff 0f 0b e8 04 66 a2 ff <0f> 0b e8 fd 65 a2 ff 0f 0b e8 f6 65 a2 ff 0f 0b 48 c7 c7 00 f7 e6 RSP: 0018:ffffc9000c287838 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880138fe680 RCX: 0000000000000000 RDX: ffff888021fc1dc0 RSI: ffffffff81e1f83c RDI: 0000000000000005 RBP: ffff8880138fe640 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6709b86130 CR3: 000000001ffeb000 CR4: 0000000000350ee0 Call Trace: page_table_check_clear include/linux/mmzone.h:2003 [inline] __page_table_check_pte_clear+0x265/0x2b0 mm/page_table_check.c:155 page_table_check_pte_clear include/linux/page_table_check.h:55 [inline] ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1086 [inline] zap_pte_range mm/memory.c:1413 [inline] zap_pmd_range mm/memory.c:1563 [inline] zap_pud_range mm/memory.c:1592 [inline] zap_p4d_range mm/memory.c:1613 [inline] unmap_page_range+0x2aa6/0x38e0 mm/memory.c:1634 unmap_single_vma+0x19a/0x2b0 mm/memory.c:1680 unmap_vmas+0x234/0x380 mm/memory.c:1719 exit_mmap+0x190/0x930 mm/mmap.c:3111 __mmput+0x128/0x4c0 kernel/fork.c:1350 mmput+0x60/0x70 kernel/fork.c:1372 exit_mm kernel/exit.c:564 [inline] do_exit+0x9d7/0x2960 kernel/exit.c:858 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1030 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:0x7f6709b13a39 Code: Unable to access opcode bytes at 0x7f6709b13a0f. RSP: 002b:00007fffb90d7828 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f6709b883f0 RCX: 00007f6709b13a39 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 00007f6709b883f0 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:page_table_check_clear.part.0+0x31c/0x380 mm/page_table_check.c:80 Code: c1 43 04 8d 58 ff 31 ff 89 de e8 3f 62 a2 ff 85 db 0f 89 7c fe ff ff e8 12 66 a2 ff 0f 0b e8 0b 66 a2 ff 0f 0b e8 04 66 a2 ff <0f> 0b e8 fd 65 a2 ff 0f 0b e8 f6 65 a2 ff 0f 0b 48 c7 c7 00 f7 e6 RSP: 0018:ffffc9000c287838 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880138fe680 RCX: 0000000000000000 RDX: ffff888021fc1dc0 RSI: ffffffff81e1f83c RDI: 0000000000000005 RBP: ffff8880138fe640 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6709b86130 CR3: 000000001ffeb000 CR4: 0000000000350ee0