------------[ cut here ]------------ page_counter underflow: -512 nr_pages=512 WARNING: CPU: 1 PID: 6650 at mm/page_counter.c:60 page_counter_cancel+0x110/0x170 mm/page_counter.c:60 Modules linked in: CPU: 1 UID: 0 PID: 6650 Comm: syz.0.15 Not tainted 6.13.0-rc7-syzkaller-g5bc55a333a2f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:page_counter_cancel+0x110/0x170 mm/page_counter.c:60 Code: e8 d5 02 97 ff 45 84 ed 75 24 e8 2b 08 97 ff c6 05 d5 52 03 0e 01 90 48 c7 c7 60 d6 5c 8b 4c 89 e2 48 89 ee e8 01 d0 57 ff 90 <0f> 0b 90 90 e8 07 08 97 ff be 08 00 00 00 48 89 df e8 9a 76 f9 ff RSP: 0018:ffffc90003bc7ae8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88814dade440 RCX: ffffffff815a1789 RDX: ffff88802d339e00 RSI: ffffffff815a1796 RDI: 0000000000000001 RBP: fffffffffffffe00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000200 R13: 0000000000000000 R14: 0000000000000001 R15: ffff888033661930 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fa5ffff CR3: 0000000029046000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_counter_uncharge+0x32/0x70 mm/page_counter.c:182 hugetlb_cgroup_uncharge_counter+0xd6/0x410 mm/hugetlb_cgroup.c:431 hugetlb_vm_op_close+0x3fe/0x5b0 mm/hugetlb.c:5072 vma_close mm/internal.h:147 [inline] remove_vma+0x91/0x1b0 mm/vma.c:380 exit_mmap+0x4e2/0xb20 mm/mmap.c:1696 __mmput+0x12a/0x4c0 kernel/fork.c:1348 mmput+0x62/0x70 kernel/fork.c:1370 exit_mm kernel/exit.c:570 [inline] do_exit+0x9ba/0x2d70 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1096 x64_sys_call+0x151f/0x1720 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6565b7dff9 Code: Unable to access opcode bytes at 0x7f6565b7dfcf. RSP: 002b:00007ffe7cecf1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6565b7dff9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 00007ffe7cecf28f R09: 00007f6565d05260 R10: 0000000000000006 R11: 0000000000000246 R12: 00007f6565d05f68 R13: 00007f6565d05260 R14: 0000000000000003 R15: 00007ffe7cecf250