------------[ cut here ]------------ page_counter underflow: -512 nr_pages=512 WARNING: mm/page_counter.c:61 at page_counter_cancel mm/page_counter.c:60 [inline], CPU#1: syz.2.2491/14873 WARNING: mm/page_counter.c:61 at page_counter_uncharge+0xd2/0x150 mm/page_counter.c:184, CPU#1: syz.2.2491/14873 Modules linked in: CPU: 1 UID: 0 PID: 14873 Comm: syz.2.2491 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:page_counter_cancel mm/page_counter.c:60 [inline] RIP: 0010:page_counter_uncharge+0xd8/0x150 mm/page_counter.c:184 Code: f7 e8 dc 8c f8 ff 4d 8b 36 4d 85 f6 74 6e e8 9f bf 8c ff e9 6c ff ff ff e8 95 bf 8c ff 48 8d 3d be 12 ff 0d 4c 89 fe 48 89 da <67> 48 0f b9 3a 4c 89 f7 be 08 00 00 00 e8 46 8f f8 ff 4c 89 f0 48 RSP: 0018:ffffc9001b0674f0 EFLAGS: 00010093 RAX: ffffffff82389e5b RBX: 0000000000000200 RCX: ffff8880872e8000 RDX: 0000000000000200 RSI: fffffffffffffe00 RDI: ffffffff9037b120 RBP: fffffffffffffe00 R08: ffff88807be44387 R09: 1ffff1100f7c8870 R10: dffffc0000000000 R11: ffffed100f7c8871 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff88807be44380 R15: fffffffffffffe00 FS: 0000000000000000(0000) GS:ffff888125345000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0df148e286 CR3: 0000000069098000 CR4: 00000000003526f0 Call Trace: __hugetlb_cgroup_uncharge_folio+0x15e/0x510 mm/hugetlb_cgroup.c:354 free_huge_folio+0xaef/0x11e0 mm/hugetlb.c:1774 folios_put_refs+0x553/0x8d0 mm/swap.c:983 folio_batch_release include/linux/pagevec.h:101 [inline] remove_inode_hugepages+0xf53/0x11a0 fs/hugetlbfs/inode.c:608 hugetlbfs_evict_inode+0xaf/0x230 fs/hugetlbfs/inode.c:623 evict+0x61e/0xb10 fs/inode.c:841 __dentry_kill+0x1a2/0x5e0 fs/dcache.c:670 finish_dput+0xc9/0x480 fs/dcache.c:879 __fput+0x691/0xa60 fs/file_table.c:518 task_work_run+0x1d9/0x270 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x70f/0x23c0 kernel/exit.c:977 do_group_exit+0x21b/0x2d0 kernel/exit.c:1119 __do_sys_exit_group kernel/exit.c:1130 [inline] __se_sys_exit_group kernel/exit.c:1128 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1128 x64_sys_call+0x221a/0x2240 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efced99c819 Code: Unable to access opcode bytes at 0x7efced99c7ef. RSP: 002b:00007ffca5e27778 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007efced99c819 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 000000000000000b RBP: 0000000000001cde R08: 00007ffca5e27c17 R09: 000000000000000b R10: 00007efcedc15fa0 R11: 0000000000000246 R12: 0000000000000003 R13: 00007efcedc1627c R14: 00007efcedc16278 R15: 00007efcedc16270 ---------------- Code disassembly (best guess): 0: f7 e8 imul %eax 2: dc 8c f8 ff 4d 8b 36 fmull 0x368b4dff(%rax,%rdi,8) 9: 4d 85 f6 test %r14,%r14 c: 74 6e je 0x7c e: e8 9f bf 8c ff call 0xff8cbfb2 13: e9 6c ff ff ff jmp 0xffffff84 18: e8 95 bf 8c ff call 0xff8cbfb2 1d: 48 8d 3d be 12 ff 0d lea 0xdff12be(%rip),%rdi # 0xdff12e2 24: 4c 89 fe mov %r15,%rsi 27: 48 89 da mov %rbx,%rdx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 4c 89 f7 mov %r14,%rdi 32: be 08 00 00 00 mov $0x8,%esi 37: e8 46 8f f8 ff call 0xfff88f82 3c: 4c 89 f0 mov %r14,%rax 3f: 48 rex.W