syzbot


WARNING in nilfs_btree_assign (3)

Status: upstream: reported C repro on 2025/01/14 07:40
Subsystems: nilfs
[Documentation on labels]
Reported-by: syzbot+158be45e4d99232e1900@syzkaller.appspotmail.com
First crash: 5d01h, last: 4d17h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in account_page_dirtied (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [nilfs?] WARNING in nilfs_btree_assign (3) 2 (5) 2025/01/14 12:28
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in nilfs_btree_assign origin:upstream missing-backport C unreliable 18 494d 665d 0/3 upstream: reported C repro on 2023/03/22 07:45
upstream WARNING in nilfs_btree_assign (2) nilfs 1 413d 409d 0/28 auto-obsoleted due to no activity on 2024/03/08 05:10
linux-4.14 WARNING in nilfs_btree_assign nilfs2 C 7 697d 809d 0/1 upstream: reported C repro on 2022/10/28 16:42
upstream WARNING in nilfs_btree_assign nilfs C error 799 539d 842d 23/28 fixed on 2023/09/28 17:51
linux-5.15 WARNING in nilfs_btree_assign C done 26 575d 650d 3/3 fixed on 2023/08/10 11:37
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/01/14 11:28 13m konishi.ryusuke@gmail.com patch upstream report log
2025/01/14 10:34 16m konishi.ryusuke@gmail.com patch upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6214 at fs/nilfs2/btree.c:2301 nilfs_btree_assign+0xabb/0xd20 fs/nilfs2/btree.c:2301
Modules linked in:
CPU: 0 UID: 0 PID: 6214 Comm: segctord Not tainted 6.13.0-rc6-syzkaller-00059-g643e2e259c2b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:nilfs_btree_assign+0xabb/0xd20 fs/nilfs2/btree.c:2301
Code: 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 e2 52 24 fe 4c 8b 7c 24 38 eb a2 e8 d6 52 24 fe 90 <0f> 0b 90 41 be fe ff ff ff eb 91 44 89 f1 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90004bcf600 EFLAGS: 00010293
RAX: ffffffff837b20fa RBX: ffff8880758fa658 RCX: ffff888027200000
RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe
RBP: ffffc90004bcf730 R08: ffffffff837b1a3b R09: 0000000000000000
R10: ffffc90004bcf560 R11: fffff52000979eaf R12: dffffc0000000000
R13: ffff8880330ca580 R14: 00000000fffffffe R15: 1ffff92000979ed0
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020094000 CR3: 0000000030296000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_bmap_assign+0x8f/0x160 fs/nilfs2/bmap.c:390
 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1633 [inline]
 nilfs_segctor_assign fs/nilfs2/segment.c:1667 [inline]
 nilfs_segctor_do_construct+0x35c5/0x6ea0 fs/nilfs2/segment.c:2126
 nilfs_segctor_construct+0x181/0x6b0 fs/nilfs2/segment.c:2479
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2587 [inline]
 nilfs_segctor_thread+0x69e/0xe80 fs/nilfs2/segment.c:2701
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/10 14:57 upstream 643e2e259c2b 67d7ec0a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-upstream-fs WARNING in nilfs_btree_assign
2025/01/10 13:40 upstream 643e2e259c2b 67d7ec0a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in nilfs_btree_assign
2025/01/10 09:13 upstream 643e2e259c2b 67d7ec0a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in nilfs_btree_assign
2025/01/10 07:36 upstream 643e2e259c2b 67d7ec0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_btree_assign
* Struck through repros no longer work on HEAD.