------------[ cut here ]------------ page_counter underflow: -512 nr_pages=1536 WARNING: CPU: 0 PID: 4094 at mm/page_counter.c:56 page_counter_cancel+0x91/0xa0 mm/page_counter.c:56 Modules linked in: CPU: 0 PID: 4094 Comm: syz-executor.0 Not tainted 5.19.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:page_counter_cancel+0x91/0xa0 mm/page_counter.c:56 Code: 00 00 00 48 89 ef 5d 45 31 c0 41 5c 4c 89 c6 e9 75 fd ff ff 4c 89 e2 48 c7 c7 80 f6 18 89 c6 05 27 30 22 0b 01 e8 23 45 af 06 <0f> 0b eb a9 48 89 ef e8 73 87 fb ff eb c3 90 48 85 ff 74 7b 41 55 RSP: 0018:ffffc90002e1f940 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88814a3ed268 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff89646380 RDI: fffff520005c3f1a RBP: ffff88814a3ed268 R08: 0000000000000001 R09: ffff8880b9c34047 R10: ffffed1017386808 R11: 0000000000000001 R12: 0000000000000600 R13: ffff8880201e5300 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd3b9a13ff8 CR3: 000000006e24e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_counter_uncharge+0x24/0x50 mm/page_counter.c:159 hugetlb_cgroup_uncharge_counter+0xaf/0x330 mm/hugetlb_cgroup.c:432 hugetlb_vm_op_close+0x35b/0x5f0 mm/hugetlb.c:4603 remove_vma+0x9b/0x140 mm/mmap.c:190 exit_mmap+0x1f5/0x540 mm/mmap.c:3415 __mmput+0xf3/0x440 kernel/fork.c:1201 exit_mm kernel/exit.c:510 [inline] do_exit+0x8ef/0x2480 kernel/exit.c:782 do_group_exit+0xb2/0x2a0 kernel/exit.c:925 get_signal+0x1c76/0x2030 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:0x7fd3b8889199 Code: Unable to access opcode bytes at RIP 0x7fd3b888916f. RSP: 002b:00007fd3b9a14218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fd3b899bf68 RCX: 00007fd3b8889199 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fd3b899bf6c RBP: 00007fd3b899bf60 R08: 00007ffe5dee2080 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007fd3b899bf6c R13: 00007ffe5de6894f R14: 00007fd3b9a14300 R15: 0000000000022000