syzbot


WARNING in nilfs_btree_mark

Status: upstream: reported C repro on 2026/04/11 02:21
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+96be415417e9468fb7e1@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Bug presence (1)
Date Name Commit Repro Result
2026/04/11 upstream (ToT) e774d5f1bc27 C [report] WARNING in nilfs_btree_mark
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in nilfs_btree_mark nilfs -1 C error 9 7d04h 33d 26/29 upstream: reported C repro on 2026/03/19 07:21
linux-6.1 WARNING in nilfs_btree_mark -1 C 4 17d 17d 0/3 upstream: reported C repro on 2026/04/03 20:30

Sample crash report:
loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4397 at fs/nilfs2/btree.c:2349 nilfs_btree_mark+0x1c1/0x200 fs/nilfs2/btree.c:2349
Modules linked in:
CPU: 1 PID: 4397 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:nilfs_btree_mark+0x1c1/0x200 fs/nilfs2/btree.c:2349
Code: f5 25 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 10 75 1f 89 e8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bf 22 6b fe <0f> 0b bd fe ff ff ff eb c9 e8 61 6a ae 06 44 89 f1 80 e1 07 80 c1
RSP: 0018:ffffc900031bf6b0 EFLAGS: 00010293
RAX: ffffffff830dfe51 RBX: ffff88807c6e6900 RCX: ffff88807ce1d940
RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe
RBP: 00000000fffffffe R08: 00000000208a0b70 R09: 0000000000000000
R10: dffffc0000000000 R11: ffffed100f8dcdf3 R12: ffff88805cd88050
R13: dffffc0000000000 R14: ffff88805cd88018 R15: 36744777f4de0100
FS:  0000555584a99500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b9bffc3950 CR3: 000000002a38a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_bmap_mark+0xb0/0x170 fs/nilfs2/bmap.c:420
 nilfs_ioctl_mark_blocks_dirty fs/nilfs2/ioctl.c:779 [inline]
 nilfs_ioctl_prepare_clean_segments+0x494/0x7f0 fs/nilfs2/ioctl.c:814
 nilfs_clean_segments+0x189/0xa30 fs/nilfs2/segment.c:2518
 nilfs_ioctl_clean_segments fs/nilfs2/ioctl.c:940 [inline]
 nilfs_ioctl+0x2052/0x2190 fs/nilfs2/ioctl.c:1304
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f119ce67819
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:00007ffe7817b018 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f119d0e0fa0 RCX: 00007f119ce67819
RDX: 0000200000000000 RSI: 0000000040786e88 RDI: 0000000000000004
RBP: 00007f119cefdc91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f119d0e0fac R14: 00007f119d0e0fa0 R15: 00007f119d0e0fa0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/11 03:46 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in nilfs_btree_mark
2026/04/11 03:17 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in nilfs_btree_mark
2026/04/11 02:49 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in nilfs_btree_mark
2026/04/11 02:20 linux-5.15.y 91d48252ad4b 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in nilfs_btree_mark
* Struck through repros no longer work on HEAD.