------------[ 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#0: syz.0.1309/9860 WARNING: mm/page_counter.c:61 at page_counter_uncharge+0xd2/0x150 mm/page_counter.c:184, CPU#0: syz.0.1309/9860 Modules linked in: CPU: 0 UID: 0 PID: 9860 Comm: syz.0.1309 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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 6c 2c f9 ff 4d 8b 36 4d 85 f6 74 6e e8 8f ee 8d ff e9 6c ff ff ff e8 85 ee 8d ff 48 8d 3d 6e 8c fe 0d 4c 89 fe 48 89 da <67> 48 0f b9 3a 4c 89 f7 be 08 00 00 00 e8 d6 2e f9 ff 4c 89 f0 48 RSP: 0018:ffffc9000d89f398 EFLAGS: 00010293 RAX: ffffffff823751ab RBX: 0000000000000200 RCX: ffff88807d765d00 RDX: 0000000000000200 RSI: fffffffffffffe00 RDI: ffffffff9035de20 RBP: fffffffffffffe00 R08: ffff88802928c387 R09: 1ffff11005251870 R10: dffffc0000000000 R11: ffffed1005251871 R12: ffff88802928c380 R13: dffffc0000000000 R14: ffff88802928c380 R15: fffffffffffffe00 FS: 00007fb4af0f06c0(0000) GS:ffff8881252a0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e063fff CR3: 0000000053b22000 CR4: 00000000003526f0 Call Trace: __hugetlb_cgroup_uncharge_cgroup mm/hugetlb_cgroup.c:392 [inline] hugetlb_cgroup_uncharge_cgroup_rsvd+0x58/0xa0 mm/hugetlb_cgroup.c:409 alloc_hugetlb_folio+0xdea/0x1620 mm/hugetlb.c:3008 hugetlb_no_page+0xfdd/0x1fc0 mm/hugetlb.c:5760 hugetlb_fault+0x570/0x12c0 mm/hugetlb.c:5992 handle_mm_fault+0x1f44/0x3080 mm/memory.c:6732 faultin_page mm/gup.c:1126 [inline] __get_user_pages+0x1678/0x2720 mm/gup.c:1428 populate_vma_page_range+0x2be/0x3c0 mm/gup.c:1860 __mm_populate+0x25f/0x390 mm/gup.c:1963 mm_populate include/linux/mm.h:4137 [inline] vm_mmap_pgoff+0x353/0x4e0 mm/util.c:586 ksys_mmap_pgoff+0x57d/0x760 mm/mmap.c:606 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb4ae19ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb4af0f0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fb4ae416090 RCX: 00007fb4ae19ce59 RDX: 0000000000000003 RSI: 0000000000ff5000 RDI: 0000200000000000 RBP: 00007fb4ae232d6f R08: ffffffffffffffff R09: 0000000000000000 R10: 00020000000ec071 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb4ae416128 R14: 00007fb4ae416090 R15: 00007ffc37952f18 ---------------- Code disassembly (best guess): 0: f7 e8 imul %eax 2: 6c insb (%dx),%es:(%rdi) 3: 2c f9 sub $0xf9,%al 5: ff 4d 8b decl -0x75(%rbp) 8: 36 4d 85 f6 ss test %r14,%r14 c: 74 6e je 0x7c e: e8 8f ee 8d ff call 0xff8deea2 13: e9 6c ff ff ff jmp 0xffffff84 18: e8 85 ee 8d ff call 0xff8deea2 1d: 48 8d 3d 6e 8c fe 0d lea 0xdfe8c6e(%rip),%rdi # 0xdfe8c92 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 d6 2e f9 ff call 0xfff92f12 3c: 4c 89 f0 mov %r14,%rax 3f: 48 rex.W