tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:242 [inline] tlb_flush_mmu+0x780/0x910 mm/mmu_gather.c:249 zap_pte_range+0x1a21/0x1ba0 mm/memory.c:1418 zap_pmd_range mm/memory.c:1467 [inline] zap_pud_range mm/memory.c:1496 [inline] zap_p4d_range mm/memory.c:1517 [inline] unmap_page_range+0x745/0xa20 mm/memory.c:1538 unmap_vmas+0x202/0x390 mm/memory.c:1615 exit_mmap+0x3c6/0x6f0 mm/mmap.c:3170 __mmput+0x111/0x3a0 kernel/fork.c:1113 exit_mm+0x211/0x2f0 kernel/exit.c:507 do_exit+0x688/0x24f0 kernel/exit.c:819 do_group_exit+0x168/0x2d0 kernel/exit.c:929 get_signal+0x1740/0x2120 kernel/signal.c:2852 arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 ------------[ cut here ]------------ kernel BUG at include/linux/page-flags.h:785! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10761 Comm: syz-executor.0 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:PageDoubleMap include/linux/page-flags.h:785 [inline] RIP: 0010:__page_mapcount+0x2b3/0x2d0 mm/util.c:744 Code: e8 72 d0 cc ff 4c 89 ff 48 c7 c6 a0 d4 7a 8a e8 f3 65 04 00 0f 0b e8 5c d0 cc ff 4c 89 ff 48 c7 c6 00 d5 7a 8a e8 dd 65 04 00 <0f> 0b e8 46 d0 cc ff 4c 89 ff 48 c7 c6 40 d5 7a 8a e8 c7 65 04 00 RSP: 0018:ffffc90004297408 EFLAGS: 00010246 RAX: 7608a7ffaa505f00 RBX: 00fff0000008001d RCX: 0000000000040000 RDX: ffffc90002d95000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff81d740b5 R09: ffffed10173467b1 R10: ffffed10173467b1 R11: 0000000000000000 R12: 1ffffd4000571289 R13: 00000000ffffea00 R14: dffffc0000000000 R15: ffffea0002b89440 FS: 00007f29efda8700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 000000008404e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_mapcount include/linux/mm.h:837 [inline] smaps_account+0x72d/0x900 fs/proc/task_mmu.c:466 smaps_pte_entry fs/proc/task_mmu.c:538 [inline] smaps_pte_range+0x6d2/0xf90 fs/proc/task_mmu.c:601 walk_pmd_range mm/pagewalk.c:128 [inline] walk_pud_range mm/pagewalk.c:205 [inline] walk_p4d_range mm/pagewalk.c:240 [inline] walk_pgd_range mm/pagewalk.c:277 [inline] __walk_page_range+0xd64/0x1ad0 mm/pagewalk.c:379 walk_page_vma+0x3de/0x520 mm/pagewalk.c:530 smap_gather_stats fs/proc/task_mmu.c:768 [inline] show_smaps_rollup+0x50f/0xad0 fs/proc/task_mmu.c:871 traverse+0x1dc/0x530 fs/seq_file.c:111 seq_read_iter+0xce1/0xdc0 fs/seq_file.c:195 seq_read+0x473/0x5e0 fs/seq_file.c:162 do_loop_readv_writev fs/read_write.c:746 [inline] do_iter_read+0x4fe/0x780 fs/read_write.c:788 vfs_readv fs/read_write.c:906 [inline] do_preadv+0x210/0x350 fs/read_write.c:998 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f29f2853ae9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f29efda8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f29f2967020 RCX: 00007f29f2853ae9 RDX: 0000000000000004 RSI: 0000000020000380 RDI: 0000000000000005 RBP: 00007f29f28adf6d R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc17e643bf R14: 00007f29efda8300 R15: 0000000000022000 Modules linked in: ---[ end trace 8600151cbb622ba3 ]--- RIP: 0010:PageDoubleMap include/linux/page-flags.h:785 [inline] RIP: 0010:__page_mapcount+0x2b3/0x2d0 mm/util.c:744 Code: e8 72 d0 cc ff 4c 89 ff 48 c7 c6 a0 d4 7a 8a e8 f3 65 04 00 0f 0b e8 5c d0 cc ff 4c 89 ff 48 c7 c6 00 d5 7a 8a e8 dd 65 04 00 <0f> 0b e8 46 d0 cc ff 4c 89 ff 48 c7 c6 40 d5 7a 8a e8 c7 65 04 00 RSP: 0018:ffffc90004297408 EFLAGS: 00010246 RAX: 7608a7ffaa505f00 RBX: 00fff0000008001d RCX: 0000000000040000 RDX: ffffc90002d95000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff81d740b5 R09: ffffed10173467b1 R10: ffffed10173467b1 R11: 0000000000000000 R12: 1ffffd4000571289 R13: 00000000ffffea00 R14: dffffc0000000000 R15: ffffea0002b89440 FS: 00007f29efda8700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 000000008404e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400