page:000000003c1aa2e0 refcount:1 mapcount:-512 mapping:0000000000000000 index:0x0 pfn:0x111ce flags: 0xfff00000000000() raw: 00fff00000000000 dead000000000100 ffffea000045d000 0000000000000000 raw: 0000000000000000 ffff888025a8c120 00000001fffffdff 0000000000000000 page dumped because: VM_BUG_ON_PAGE(page->pmd_huge_pte) ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:2264! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8550 Comm: syz-executor131 Not tainted 5.10.0-rc5-next-20201130-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pmd_ptlock_free include/linux/mm.h:2264 [inline] RIP: 0010:pgtable_pmd_page_dtor include/linux/mm.h:2303 [inline] RIP: 0010:___pmd_free_tlb+0x128/0x170 arch/x86/mm/pgtable.c:72 Code: 40 00 48 89 df 48 89 ee e8 65 d8 fe ff 66 90 5b 5d 41 5c 41 5d c3 e8 d7 07 40 00 48 c7 c6 40 c5 48 89 48 89 ef e8 f8 d1 70 00 <0f> 0b e8 c1 07 40 00 48 c7 c6 a0 c4 48 89 48 89 ef e8 e2 d1 70 00 RSP: 0018:ffffc900017df900 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffc900017dfa58 RCX: 0000000000000000 RDX: ffff88801a28b580 RSI: ffffffff88b61174 RDI: 0000000000000003 RBP: ffffea0000447380 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88b61156 R11: 0000000000000000 R12: ffff8880111ce000 R13: ffffc900017dfa58 R14: ffff888017c6c000 R15: 00000000211fffff FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001d000 CR3: 000000001dec1000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __pmd_free_tlb arch/x86/include/asm/pgalloc.h:95 [inline] free_pmd_range mm/memory.c:254 [inline] free_pud_range mm/memory.c:272 [inline] free_p4d_range mm/memory.c:306 [inline] free_pgd_range+0x9cc/0xc10 mm/memory.c:386 free_pgtables+0x230/0x2f0 mm/memory.c:418 exit_mmap+0x2c0/0x5a0 mm/mmap.c:3238 __mmput+0x122/0x470 kernel/fork.c:1082 mmput+0x53/0x60 kernel/fork.c:1103 exit_mm kernel/exit.c:500 [inline] do_exit+0xa97/0x29e0 kernel/exit.c:810 do_group_exit+0x125/0x310 kernel/exit.c:920 get_signal+0x3ec/0x2010 kernel/signal.c:2770 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:811 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x124/0x200 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x36/0x260 kernel/entry/common.c:277 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x446949 Code: Unable to access opcode bytes at RIP 0x44691f. RSP: 002b:00007fb236a30db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000006dbc28 RCX: 0000000000446949 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dbc28 RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c R13: 00007ffd2b6326ff R14: 00007fb236a319c0 R15: 000000000000002d Modules linked in: ---[ end trace 36ebbafbc1aa95c2 ]--- RIP: 0010:pmd_ptlock_free include/linux/mm.h:2264 [inline] RIP: 0010:pgtable_pmd_page_dtor include/linux/mm.h:2303 [inline] RIP: 0010:___pmd_free_tlb+0x128/0x170 arch/x86/mm/pgtable.c:72 Code: 40 00 48 89 df 48 89 ee e8 65 d8 fe ff 66 90 5b 5d 41 5c 41 5d c3 e8 d7 07 40 00 48 c7 c6 40 c5 48 89 48 89 ef e8 f8 d1 70 00 <0f> 0b e8 c1 07 40 00 48 c7 c6 a0 c4 48 89 48 89 ef e8 e2 d1 70 00 RSP: 0018:ffffc900017df900 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffc900017dfa58 RCX: 0000000000000000 RDX: ffff88801a28b580 RSI: ffffffff88b61174 RDI: 0000000000000003 RBP: ffffea0000447380 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88b61156 R11: 0000000000000000 R12: ffff8880111ce000 R13: ffffc900017dfa58 R14: ffff888017c6c000 R15: 00000000211fffff FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb236a0fdb8 CR3: 000000001dec1000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400