------------[ 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.0.435/7662 WARNING: mm/page_counter.c:61 at page_counter_uncharge+0xd2/0x150 mm/page_counter.c:184, CPU#1: syz.0.435/7662 Modules linked in: CPU: 1 UID: 0 PID: 7662 Comm: syz.0.435 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/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 bc 26 f9 ff 4d 8b 36 4d 85 f6 74 6e e8 af eb 8d ff e9 6c ff ff ff e8 a5 eb 8d ff 48 8d 3d be 8e fe 0d 4c 89 fe 48 89 da <67> 48 0f b9 3a 4c 89 f7 be 08 00 00 00 e8 26 29 f9 ff 4c 89 f0 48 RSP: 0018:ffffc900046872b0 EFLAGS: 00010093 RAX: ffffffff8237c08b RBX: 0000000000000200 RCX: ffff88802cb65c40 RDX: 0000000000000200 RSI: fffffffffffffe00 RDI: ffffffff90364f50 RBP: fffffffffffffe00 R08: ffff888077b84387 R09: 1ffff1100ef70870 R10: dffffc0000000000 R11: ffffed100ef70871 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff888077b84380 R15: fffffffffffffe00 FS: 0000000000000000(0000) GS:ffff888125390000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff4e5d5020 CR3: 000000000e74a000 CR4: 00000000003526f0 Call Trace: __hugetlb_cgroup_uncharge_folio+0x15e/0x510 mm/hugetlb_cgroup.c:354 free_huge_folio+0xaf0/0xef0 mm/hugetlb.c:1746 folios_put_refs+0x751/0xb40 mm/swap.c:989 folio_batch_release include/linux/folio_batch.h:101 [inline] remove_inode_hugepages+0xf53/0x11a0 fs/hugetlbfs/inode.c:602 hugetlbfs_evict_inode+0xaf/0x230 fs/hugetlbfs/inode.c:617 evict+0x61e/0xb10 fs/inode.c:841 __dentry_kill+0x1a2/0x690 fs/dcache.c:718 finish_dput+0xc9/0x480 fs/dcache.c:927 __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/0x22c0 kernel/exit.c:975 do_group_exit+0x21b/0x2d0 kernel/exit.c:1117 get_signal+0x1284/0x1330 kernel/signal.c:3037 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa77179c799 Code: Unable to access opcode bytes at 0x7fa77179c76f. RSP: 002b:00007fa77261d0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fa771a16098 RCX: 00007fa77179c799 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fa771a1609c RBP: 00007fa771a16090 R08: 3fffffffffffffff R09: 0000000000000000 R10: 0000200000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa771a16128 R14: 00007fff4e5d4b40 R15: 00007fff4e5d4c28 ---------------- Code disassembly (best guess): 0: f7 e8 imul %eax 2: bc 26 f9 ff 4d mov $0x4dfff926,%esp 7: 8b 36 mov (%rsi),%esi 9: 4d 85 f6 test %r14,%r14 c: 74 6e je 0x7c e: e8 af eb 8d ff call 0xff8debc2 13: e9 6c ff ff ff jmp 0xffffff84 18: e8 a5 eb 8d ff call 0xff8debc2 1d: 48 8d 3d be 8e fe 0d lea 0xdfe8ebe(%rip),%rdi # 0xdfe8ee2 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 26 29 f9 ff call 0xfff92962 3c: 4c 89 f0 mov %r14,%rax 3f: 48 rex.W