syzbot


WARNING in page_counter_uncharge

Status: upstream: reported C repro on 2025/12/01 06:16
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+7467a8c2e83fa36ad128@syzkaller.appspotmail.com
First crash: 62d, last: 26d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in page_counter_cancel (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2025/12/04 linux-6.1.y (ToT) f6e38ae624cf C [report] WARNING in page_counter_uncharge
2025/12/04 upstream (ToT) 500920fa7681 C Didn't crash
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in page_counter_uncharge cgroups mm -1 C done done 2 1494d 1494d 20/29 fixed on 2022/03/08 16:11
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2026/01/24 22:37 1m fix candidate upstream error job log
2026/01/06 04:21 2h10m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000002
R13: 00007f57e23e5fa0 R14: 00007f57e23e5fa0 R15: 0000000000000005
 </TASK>
------------[ cut here ]------------
page_counter underflow: -1024 nr_pages=1024
WARNING: CPU: 0 PID: 4436 at mm/page_counter.c:56 page_counter_cancel mm/page_counter.c:55 [inline]
WARNING: CPU: 0 PID: 4436 at mm/page_counter.c:56 page_counter_uncharge+0xee/0x110 mm/page_counter.c:158
Modules linked in:
CPU: 0 PID: 4436 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:page_counter_cancel mm/page_counter.c:55 [inline]
RIP: 0010:page_counter_uncharge+0xee/0x110 mm/page_counter.c:158
Code: 74 2f e8 05 ad a9 ff e9 5d ff ff ff e8 fb ac a9 ff c6 05 aa dc 33 0c 01 48 c7 c7 40 4a 98 8a 4c 89 fe 48 89 da e8 c2 d1 75 ff <0f> 0b e9 74 ff ff ff e8 d6 ac a9 ff eb 05 e8 cf ac a9 ff 5b 41 5c
RSP: 0018:ffffc900034979c0 EFLAGS: 00010246
RAX: e97be05209655200 RBX: 0000000000000400 RCX: ffff888075e31dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffff8880252a6520 R08: dffffc0000000000 R09: fffff52000692ec9
R10: fffff52000692ec9 R11: 1ffff92000692ec8 R12: dffffc0000000000
R13: fffffffffffffc00 R14: ffff88814733f380 R15: fffffffffffffc00
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556ab0ea3a30 CR3: 000000000c88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hugetlb_cgroup_uncharge_counter+0xc3/0x120 mm/hugetlb_cgroup.c:430
 hugetlb_vm_op_close+0x550/0x930 mm/hugetlb.c:4889
 vma_close+0x6b/0xa0 mm/util.c:1129
 remove_vma mm/mmap.c:140 [inline]
 exit_mmap+0x3e8/0x8e0 mm/mmap.c:3272
 __mmput+0x118/0x3c0 kernel/fork.c:1200
 exit_mm+0x1e6/0x2c0 kernel/exit.c:565
 do_exit+0x8c1/0x2400 kernel/exit.c:867
 do_group_exit+0x217/0x2d0 kernel/exit.c:1022
 __do_sys_exit_group kernel/exit.c:1033 [inline]
 __se_sys_exit_group kernel/exit.c:1031 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1031
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f57e218f749
Code: Unable to access opcode bytes at 0x7f57e218f71f.
RSP: 002b:00007ffcd7988e98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f57e218f749
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: 00000002d7988f8f R09: 00007f57e23b4280
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f57e23b4280 R14: 0000000000000003 R15: 00007ffcd7988f50
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/01 07:12 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_counter_uncharge
2025/12/01 06:45 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_counter_uncharge
2025/12/01 06:15 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_counter_uncharge
* Struck through repros no longer work on HEAD.