RBP: 00007fe5aef06090 R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007fe5ae3a5fa0 R15: 00007ffd6d077ce8 ------------[ cut here ]------------ page_counter underflow: -512 nr_pages=512 WARNING: CPU: 1 PID: 9896 at mm/page_counter.c:60 page_counter_cancel+0x110/0x170 mm/page_counter.c:60 Modules linked in: CPU: 1 UID: 0 PID: 9896 Comm: syz.4.1000 Not tainted 6.14.0-syzkaller-07318-g4fa118e5b79f #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 c5 8e 96 ff 45 84 ed 75 24 e8 eb 93 96 ff c6 05 e1 b6 47 0e 01 90 48 c7 c7 20 76 9d 8b 4c 89 e2 48 89 ee e8 a1 2d 56 ff 90 <0f> 0b 90 90 e8 c7 93 96 ff be 08 00 00 00 48 89 df e8 9a 5e f9 ff RSP: 0018:ffffc90002f077d0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8881446f2440 RCX: ffffffff817ade18 RDX: ffff888030138000 RSI: ffffffff817ade25 RDI: 0000000000000001 RBP: fffffffffffffe00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000200 R13: 0000000000000000 R14: 0000000000000001 R15: ffff88806e49aa28 FS: 00007fe5aef066c0(0000) GS:ffff888124b20000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe5abff6d58 CR3: 000000008430a000 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:430 hugetlb_vm_op_close+0x3fb/0x5b0 mm/hugetlb.c:5106 vma_close mm/internal.h:147 [inline] vms_clean_up_area mm/vma.c:1159 [inline] __mmap_prepare mm/vma.c:2283 [inline] __mmap_region+0x5ac/0x27c0 mm/vma.c:2449 mmap_region+0x1ab/0x3f0 mm/vma.c:2540 do_mmap+0xd8e/0x11b0 mm/mmap.c:561 vm_mmap_pgoff+0x281/0x450 mm/util.c:579 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:607 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe5ae18d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe5aef06038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fe5ae3a5fa0 RCX: 00007fe5ae18d169 RDX: 0000000000000003 RSI: 0000000002020009 RDI: 0000000000000000 RBP: 00007fe5ae20e2a0 R08: fffffffffffffffa R09: 0000000000008000 R10: 0000000000000eb1 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe5ae3a5fa0 R15: 00007ffd6d077ce8