------------[ cut here ]------------ page_counter underflow: -512 nr_pages=1024 WARNING: CPU: 1 PID: 14215 at mm/page_counter.c:60 page_counter_cancel+0x110/0x170 mm/page_counter.c:60 Modules linked in: CPU: 1 UID: 0 PID: 14215 Comm: syz.0.2178 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:page_counter_cancel+0x110/0x170 mm/page_counter.c:60 Code: e8 a5 a2 96 ff 45 84 ed 75 24 e8 cb a7 96 ff c6 05 23 c4 26 0e 01 90 48 c7 c7 40 62 7d 8b 4c 89 e2 48 89 ee e8 31 4f 56 ff 90 <0f> 0b 90 90 e8 a7 a7 96 ff be 08 00 00 00 48 89 df e8 ba 5e f9 ff RSP: 0018:ffffc9000e5478c0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88814e43e440 RCX: ffffffff817a9ea8 RDX: ffff88801d390000 RSI: ffffffff817a9eb5 RDI: 0000000000000001 RBP: fffffffffffffe00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: fffffffffffcf498 R12: 0000000000000400 R13: 0000000000000000 R14: 0000000000000002 R15: ffff888032f92d10 FS: 0000000000000000(0000) GS:ffff888124f5a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f77bb146990 CR3: 000000006e11e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> page_counter_uncharge+0x32/0x70 mm/page_counter.c:182 hugetlb_cgroup_uncharge_counter+0xd6/0x410 mm/hugetlb_cgroup.c:430 hugetlb_vm_op_close+0x3fb/0x5b0 mm/hugetlb.c:5106 vma_close mm/internal.h:147 [inline] remove_vma+0x91/0x1b0 mm/vma.c:412 exit_mmap+0x50e/0xb90 mm/mmap.c:1308 __mmput+0x12a/0x410 kernel/fork.c:1356 mmput+0x62/0x70 kernel/fork.c:1378 exit_mm kernel/exit.c:586 [inline] do_exit+0x9c0/0x2d60 kernel/exit.c:941 do_group_exit+0xd3/0x2a0 kernel/exit.c:1103 get_signal+0x24cf/0x26a0 kernel/signal.c:3035 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f77f1b8d169 Code: Unable to access opcode bytes at 0x7f77f1b8d13f. RSP: 002b:00007f77f2a380e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f77f1da6168 RCX: 00007f77f1b8d169 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f77f1da6168 RBP: 00007f77f1da6160 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f77f1da616c R13: 0000000000000000 R14: 00007ffcb946c040 R15: 00007ffcb946c128 </TASK>