------------[ cut here ]------------ page_counter underflow: -512 nr_pages=1024 WARNING: CPU: 1 PID: 5687 at mm/page_counter.c:60 page_counter_cancel+0x110/0x170 mm/page_counter.c:60 Modules linked in: CPU: 1 UID: 0 PID: 5687 Comm: syz.2.96 Not tainted 6.12.0-rc1-syzkaller-00381-g2a130b7e1fcd #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 15 23 98 ff 45 84 ed 75 24 e8 2b 21 98 ff c6 05 0c f2 10 0e 01 90 48 c7 c7 c0 9d 5c 8b 4c 89 e2 48 89 ee e8 71 a0 59 ff 90 <0f> 0b 90 90 e8 07 21 98 ff be 08 00 00 00 48 89 df e8 9a 71 f9 ff RSP: 0018:ffffc90009b078c8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888145739440 RCX: ffffffff814e38b9 RDX: ffff888065251e00 RSI: ffffffff814e38c6 RDI: 0000000000000001 RBP: fffffffffffffe00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000400 R13: 0000000000000000 R14: 0000000000000002 R15: ffff888078cf0a28 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556db7d5c8 CR3: 0000000067352000 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:5065 remove_vma+0xa8/0x1a0 mm/vma.c:330 exit_mmap+0x4e0/0xb30 mm/mmap.c:1888 __mmput+0x12a/0x480 kernel/fork.c:1347 mmput+0x62/0x70 kernel/fork.c:1369 exit_mm kernel/exit.c:571 [inline] do_exit+0x9bf/0x2d70 kernel/exit.c:926 do_group_exit+0xd3/0x2a0 kernel/exit.c:1088 get_signal+0x2658/0x26d0 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 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:328 [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/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc85857dff9 Code: Unable to access opcode bytes at 0x7fc85857dfcf. RSP: 002b:00007fc85938b0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fc858736060 RCX: 00007fc85857dff9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc858736060 RBP: 00007fc858736058 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc858736064 R13: 0000000000000000 R14: 00007ffce227d360 R15: 00007ffce227d448