RDX: 0000000001000004 RSI: 0000000004008031 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ kernel BUG at mm/page_table_check.c:87! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 17132 Comm: syz.3.1855 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:page_table_check_clear+0x3a5/0x550 mm/page_table_check.c:87 Code: 4a fd ff ff e8 2c 5e 89 ff 90 0f 0b e8 24 5e 89 ff 90 0f 0b e8 1c 5e 89 ff 90 0f 0b e8 14 5e 89 ff 90 0f 0b e8 0c 5e 89 ff 90 <0f> 0b f3 0f 1e fa 4c 89 fe 48 81 e6 c0 0f 00 00 31 ff e8 d4 62 89 RSP: 0018:ffffc90004357180 EFLAGS: 00010293 RAX: ffffffff820b79d4 RBX: ffff88801ddea098 RCX: ffff888027958000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffffff820b78a5 R09: 1ffff11003bbd413 R10: dffffc0000000000 R11: ffffed1003bbd414 R12: ffff88801ddea09c R13: ffff88801ddea050 R14: 1ffffffff34881b4 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0063) knlGS:00000000f56a5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006bf12000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_table_check_pmd_clear include/linux/page_table_check.h:57 [inline] pmdp_huge_get_and_clear arch/x86/include/asm/pgtable.h:1390 [inline] pmdp_huge_get_and_clear_full include/linux/pgtable.h:636 [inline] zap_huge_pmd+0x940/0xc40 mm/huge_memory.c:2060 zap_pmd_range mm/memory.c:1719 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x762/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 unmap_region+0x214/0x380 mm/vma.c:354 mmap_region+0x23fa/0x2a30 mm/mmap.c:1583 do_mmap+0x8f0/0x1000 mm/mmap.c:496 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x34/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f41579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f56a556c EFLAGS: 00000206 ORIG_RAX: 00000000000000c0 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000b36000 RDX: 0000000001000004 RSI: 0000000004008031 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:page_table_check_clear+0x3a5/0x550 mm/page_table_check.c:87 Code: 4a fd ff ff e8 2c 5e 89 ff 90 0f 0b e8 24 5e 89 ff 90 0f 0b e8 1c 5e 89 ff 90 0f 0b e8 14 5e 89 ff 90 0f 0b e8 0c 5e 89 ff 90 <0f> 0b f3 0f 1e fa 4c 89 fe 48 81 e6 c0 0f 00 00 31 ff e8 d4 62 89 RSP: 0018:ffffc90004357180 EFLAGS: 00010293 RAX: ffffffff820b79d4 RBX: ffff88801ddea098 RCX: ffff888027958000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffffff820b78a5 R09: 1ffff11003bbd413 R10: dffffc0000000000 R11: ffffed1003bbd414 R12: ffff88801ddea09c R13: ffff88801ddea050 R14: 1ffffffff34881b4 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0063) knlGS:00000000f56a5b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006bf12000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 ret 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 90 nop 33: 90 nop 34: 90 nop 35: 90 nop 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop