syzbot


WARNING in nilfs_btree_assign

Status: upstream: reported C repro on 2023/03/22 07:45
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+7d7d35ad4115387264f9@syzkaller.appspotmail.com
First crash: 460d, last: 290d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: INFO: rcu detected stall in corrupted (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/07/03 linux-6.1.y (ToT) 0f4ac6b4c5f0 C [report] INFO: rcu detected stall in corrupted
2023/05/19 upstream (ToT) 2d1bcbc6cd70 C [report] WARNING in nilfs_btree_assign
2023/07/03 upstream (ToT) 0a8d6c9c7128 C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in nilfs_btree_assign (2) nilfs 1 208d 204d 0/27 auto-obsoleted due to no activity on 2024/03/08 05:10
linux-4.14 WARNING in nilfs_btree_assign nilfs2 C 7 493d 605d 0/1 upstream: reported C repro on 2022/10/28 16:42
upstream WARNING in nilfs_btree_assign nilfs C error 799 334d 638d 23/27 fixed on 2023/09/28 17:51
linux-5.15 WARNING in nilfs_btree_assign C done 26 371d 446d 3/3 fixed on 2023/08/10 11:37
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/09/20 08:09 7h04m fix candidate upstream job log (1)
2023/09/08 14:11 2h55m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7345 at fs/nilfs2/btree.c:2282 nilfs_btree_assign+0xa9b/0xd00
Modules linked in:
CPU: 0 PID: 7345 Comm: segctord Not tainted 6.1.29-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:nilfs_btree_assign+0xa9b/0xd00 fs/nilfs2/btree.c:2282
Code: 00 0f 85 81 02 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 91 6c 40 fe 4c 8b 7c 24 38 eb a6 e8 85 6c 40 fe <0f> 0b 41 be fe ff ff ff eb 97 44 89 f1 80 e1 07 80 c1 03 38 c1 0f
RSP: 0018:ffffc9000e637580 EFLAGS: 00010293
RAX: ffffffff8349584b RBX: ffff8880725d8018 RCX: ffff888027d81dc0
RDX: 0000000000000000 RSI: 00000000fffffffe RDI: 00000000fffffffe
RBP: ffffc9000e6376b0 R08: ffffffff834951a7 R09: ffffed100d8b3f40
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888077124b00 R14: 00000000fffffffe R15: 1ffff92001cc6ec0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f48a6f000 CR3: 000000001b977000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_bmap_assign+0x87/0x160 fs/nilfs2/bmap.c:390
 nilfs_segctor_update_payload_blocknr fs/nilfs2/segment.c:1615 [inline]
 nilfs_segctor_assign fs/nilfs2/segment.c:1649 [inline]
 nilfs_segctor_do_construct+0x374c/0x6cc0 fs/nilfs2/segment.c:2079
 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2402
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2510 [inline]
 nilfs_segctor_thread+0x536/0x1130 fs/nilfs2/segment.c:2593
 kthread+0x26e/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/19 03:58 linux-6.1.y fa74641fb6b9 3bb7af1d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/06/22 17:40 linux-6.1.y e84a4e368abe 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/06/09 00:38 linux-6.1.y 76ba310227d2 058b3a5a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/06/07 07:19 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/06/04 02:57 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/03/22 12:27 linux-6.1.y 7eaef76fbc46 8b4eb097 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/05/05 04:09 linux-6.1.y ca48fc16c493 518a39a6 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_btree_assign
2023/03/22 14:12 linux-6.1.y 7eaef76fbc46 8b4eb097 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_btree_assign
2023/06/27 00:28 linux-6.1.y e84a4e368abe 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/05/18 13:49 linux-6.1.y fa74641fb6b9 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/05/09 08:51 linux-6.1.y ca48fc16c493 c7a5e2a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/04/11 07:19 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/03/23 04:55 linux-6.1.y e3a87a10f259 f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/03/22 07:45 linux-6.1.y 7eaef76fbc46 8b4eb097 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_btree_assign
2023/06/01 21:36 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_btree_assign
2023/05/04 16:33 linux-6.1.y ca48fc16c493 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_btree_assign
2023/04/22 03:51 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_btree_assign
2023/04/19 04:39 linux-6.1.y 0102425ac76b d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_btree_assign
* Struck through repros no longer work on HEAD.