------------[ cut here ]------------ page_counter underflow: -512 nr_pages=1024 WARNING: CPU: 1 PID: 20255 at mm/page_counter.c:56 page_counter_cancel+0xcf/0xe0 mm/page_counter.c:56 Modules linked in: CPU: 1 PID: 20255 Comm: syz-executor.1 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:page_counter_cancel+0xcf/0xe0 mm/page_counter.c:56 Code: c7 04 24 00 00 00 00 45 31 f6 eb 97 e8 2a 36 ae ff 4c 89 ea 48 89 ee 48 c7 c7 a0 55 da 89 c6 05 26 90 db 0b 01 e8 bb bb 67 07 <0f> 0b eb a8 4c 89 e7 e8 65 3b fa ff eb c7 0f 1f 00 41 56 41 55 49 RSP: 0018:ffffc90004ad7890 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888074211268 RCX: 0000000000000000 RDX: ffff888024f60000 RSI: ffffffff81610608 RDI: fffff5200095af04 RBP: fffffffffffffe00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888074211268 R13: 0000000000000400 R14: 0000000000000000 R15: ffffffff90f8c958 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff142508d60 CR3: 000000007d06e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_counter_uncharge+0x2e/0x60 mm/page_counter.c:159 hugetlb_cgroup_uncharge_counter+0xcc/0x3d0 mm/hugetlb_cgroup.c:432 hugetlb_vm_op_close+0x424/0x6b0 mm/hugetlb.c:4598 remove_vma+0x81/0x130 mm/mmap.c:187 exit_mmap+0x288/0x720 mm/mmap.c:3222 __mmput+0x128/0x4c0 kernel/fork.c:1180 mmput+0x5c/0x70 kernel/fork.c:1201 exit_mm kernel/exit.c:510 [inline] do_exit+0xa09/0x29f0 kernel/exit.c:782 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x2542/0x2600 kernel/signal.c:2857 arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f8cdac89209 Code: Unable to access opcode bytes at RIP 0x7f8cdac891df. RSP: 002b:00007f8cdbd26218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f8cdad9bf68 RCX: 00007f8cdac89209 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f8cdad9bf6c RBP: 00007f8cdad9bf60 R08: 00007fff631f9080 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f8cdad9bf6c R13: 00007fff631e156f R14: 00007f8cdbd26300 R15: 0000000000022000