WARNING in nilfs_copy_dirty_pages

Status: upstream: reported on 2026/09/06 04:19
Subsystems: nilfs
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+5aea413a54e976f31725@syzkaller.appspotmail.com
First crash: 49d, last: 19d
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
7269d215 repro-c 💥 WARNING in nilfs_copy_dirty_pages 2026/10/21 08:18 2026/10/21 08:18 2026/10/21 11:26 61c200c7
df8b268c repro-c 💥 WARNING in nilfs_copy_dirty_pages 2026/10/19 18:31 2026/10/19 18:31 2026/10/19 20:54 e931f328
c0cbdea7 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ WARNING in nilfs_copy_dirty_pages 2026/09/04 13:21 2026/09/04 13:21 2026/09/04 14:11 801f0966
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [nilfs?] WARNING in nilfs_copy_dirty_pages 0 (1) 2026/09/06 04:19

Sample crash report:
------------[ cut here ]------------
inconsistent dirty state
WARNING: fs/nilfs2/page.c:263 at nilfs_copy_dirty_pages+0x49f/0x6a0 fs/nilfs2/page.c:262, CPU#0: syz.0.0/5334
Modules linked in:
CPU: 0 UID: 0 PID: 5334 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:nilfs_copy_dirty_pages+0x49f/0x6a0 fs/nilfs2/page.c:262
Code: 57 ec 5f fe 4d 8b 36 44 89 f6 83 e6 01 31 ff e8 67 50 ee fd 41 f6 c6 01 0f 85 f1 00 00 00 e8 98 4a ee fd 48 8d 3d c1 5e a9 0c <67> 48 0f b9 3a e9 67 ff ff ff e8 82 4a ee fd 48 c7 c7 c0 a6 31 8f
RSP: 0018:ffffc9000d0574e0 EFLAGS: 00010293
RAX: ffffffff83d9d508 RBX: ffffea0000f2b500 RCX: ffff888031af8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff908333d0
RBP: ffffc9000d0576f8 R08: ffffea0000f2b507 R09: 1ffffd40001e56a0
R10: dffffc0000000000 R11: fffff940001e56a1 R12: dffffc0000000000
R13: ffffea0000f2b508 R14: 0000000062000410 R15: 0000000000000000
FS:  00007f8ea23b36c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8ea2370fe8 CR3: 000000004374c000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 nilfs_mdt_save_to_shadow_map+0xbb/0x1c0 fs/nilfs2/mdt.c:552
 nilfs_clean_segments+0x28d/0xbe0 fs/nilfs2/segment.c:2546
 nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:938 [inline]
 nilfs_ioctl+0x2619/0x2780 fs/nilfs2/ioctl.c:1368
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8ea5f9e159
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:00007f8ea23b2fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8ea62269f0 RCX: 00007f8ea5f9e159
RDX: 0000200000000640 RSI: 0000000040786e88 RDI: 0000000000000008
RBP: 00007f8ea603506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8ea6226a88 R14: 00007f8ea62269f0 R15: 00007ffdd9c6f438
 </TASK>
----------------
Code disassembly (best guess):
   0:	57                   	push   %rdi
   1:	ec                   	in     (%dx),%al
   2:	5f                   	pop    %rdi
   3:	fe 4d 8b             	decb   -0x75(%rbp)
   6:	36 44 89 f6          	ss mov %r14d,%esi
   a:	83 e6 01             	and    $0x1,%esi
   d:	31 ff                	xor    %edi,%edi
   f:	e8 67 50 ee fd       	call   0xfdee507b
  14:	41 f6 c6 01          	test   $0x1,%r14b
  18:	0f 85 f1 00 00 00    	jne    0x10f
  1e:	e8 98 4a ee fd       	call   0xfdee4abb
  23:	48 8d 3d c1 5e a9 0c 	lea    0xca95ec1(%rip),%rdi        # 0xca95eeb
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	e9 67 ff ff ff       	jmp    0xffffff9b
  34:	e8 82 4a ee fd       	call   0xfdee4abb
  39:	48 c7 c7 c0 a6 31 8f 	mov    $0xffffffff8f31a6c0,%rdi

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/02 11:52 upstream ce1e0223d8ad 1065c8fa .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in nilfs_copy_dirty_pages
2026/09/02 04:16 upstream 89a312991dc6 587f6b29 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in nilfs_copy_dirty_pages
* Struck through repros no longer work on HEAD.