RBP: 00007f3ddddae090 R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000401d031 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f3ddd135f80 R15: 00007f3ddd25fa28 ------------[ 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: 6980 Comm: syz.4.320 Not tainted 6.11.0-syzkaller-10669-g11a299a7933e #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 0c 78 89 ff 90 0f 0b e8 04 78 89 ff 90 0f 0b e8 fc 77 89 ff 90 0f 0b e8 f4 77 89 ff 90 0f 0b e8 ec 77 89 ff 90 <0f> 0b f3 0f 1e fa 4c 89 fe 48 81 e6 c0 0f 00 00 31 ff e8 b4 7c 89 RSP: 0018:ffffc900040871a0 EFLAGS: 00010293 RAX: ffffffff820b3d54 RBX: ffff88801dd18098 RCX: ffff88801ef9da00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffffff820b3c25 R09: 1ffff11003ba3013 R10: dffffc0000000000 R11: ffffed1003ba3014 R12: ffff88801dd1809c R13: ffff88801dd18050 R14: 1ffffffff3485fb4 R15: 0000000000000001 FS: 00007f3ddddae6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f862d80131 CR3: 0000000028b62000 CR4: 00000000003506f0 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:2071 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+0x22f9/0x2990 mm/mmap.c:1573 do_mmap+0x8f0/0x1000 mm/mmap.c:496 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3ddcf7df39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3ddddae038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f3ddd135f80 RCX: 00007f3ddcf7df39 RDX: 0000000000000000 RSI: 0000000000c00000 RDI: 0000000020400000 RBP: 00007f3ddddae090 R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000401d031 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f3ddd135f80 R15: 00007f3ddd25fa28 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 0c 78 89 ff 90 0f 0b e8 04 78 89 ff 90 0f 0b e8 fc 77 89 ff 90 0f 0b e8 f4 77 89 ff 90 0f 0b e8 ec 77 89 ff 90 <0f> 0b f3 0f 1e fa 4c 89 fe 48 81 e6 c0 0f 00 00 31 ff e8 b4 7c 89 RSP: 0018:ffffc900040871a0 EFLAGS: 00010293 RAX: ffffffff820b3d54 RBX: ffff88801dd18098 RCX: ffff88801ef9da00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: 00000000ffffffff R08: ffffffff820b3c25 R09: 1ffff11003ba3013 R10: dffffc0000000000 R11: ffffed1003ba3014 R12: ffff88801dd1809c R13: ffff88801dd18050 R14: 1ffffffff3485fb4 R15: 0000000000000001 FS: 00007f3ddddae6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f862d80131 CR3: 0000000028b62000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400