syzbot


WARNING in __srcu_check_read_flavor

Status: auto-obsoleted due to no activity on 2025/11/21 15:59
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+4a606091891fbc6811cf@syzkaller.appspotmail.com
First crash: 353d, last: 153d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kvm?] WARNING in __srcu_check_read_flavor 0 (2) 2024/12/19 13:30
Last patch testing requests (5)
Created Duration User Patch Repo Result
2025/11/21 15:36 22m retest repro upstream OK log
2025/09/12 00:02 18m retest repro upstream report log
2025/06/25 03:01 19m retest repro upstream report log
2025/04/13 23:59 21m retest repro upstream report log
2025/01/18 10:57 15m retest repro upstream report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/06/28 04:54 2h07m bisect fix upstream OK (0) job log log

Sample crash report:
bcachefs (loop5): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names
bcachefs (loop5): initializing new filesystem
------------[ cut here ]------------
CPU 0 old state 3 new state 1
WARNING: CPU: 0 PID: 6526 at kernel/rcu/srcutree.c:740 __srcu_check_read_flavor+0x10a/0x150 kernel/rcu/srcutree.c:740
Modules linked in:
CPU: 0 UID: 0 PID: 6526 Comm: syz.5.86 Not tainted 6.15.0-rc2-syzkaller-00042-g1a1d569a75f3 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__srcu_check_read_flavor+0x10a/0x150 kernel/rcu/srcutree.c:740
Code: c6 c8 01 00 00 4c 89 f0 48 c1 e8 03 42 0f b6 04 20 84 c0 75 38 41 8b 36 48 c7 c7 40 e5 4b 8c 89 ea 44 89 f9 e8 e7 3e da ff 90 <0f> 0b 90 90 eb a2 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 64 ff ff ff
RSP: 0018:ffffc900031a7360 EFLAGS: 00010246
RAX: 52f9d71c64a8dc00 RBX: ffffe8ffffc75360 RCX: 0000000000080000
RDX: ffffc9001a7cc000 RSI: 00000000000453df RDI: 00000000000453e0
RBP: 0000000000000003 R08: ffffffff81826812 R09: fffffbfff1d7a970
R10: dffffc0000000000 R11: fffffbfff1d7a970 R12: dffffc0000000000
R13: 0000607edacac340 R14: ffffe8ffffc75508 R15: 0000000000000001
FS:  00007faae0cb96c0(0000) GS:ffff888124fc9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd029fafe8 CR3: 0000000054cc8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 srcu_check_read_flavor include/linux/srcutree.h:339 [inline]
 srcu_read_lock include/linux/srcu.h:251 [inline]
 __bch2_trans_get+0x7d5/0xd40 fs/bcachefs/btree_iter.c:3382
 bch2_btree_root_alloc_fake+0x44/0x130 fs/bcachefs/btree_update_interior.c:2629
 bch2_fs_initialize+0x85e/0x1620 fs/bcachefs/recovery.c:1118
 bch2_fs_start+0x301/0x620 fs/bcachefs/super.c:1060
 bch2_fs_get_tree+0x113e/0x18f0 fs/bcachefs/fs.c:2253
 vfs_get_tree+0x90/0x2b0 fs/super.c:1759
 do_new_mount+0x2cf/0xb70 fs/namespace.c:3881
 do_mount fs/namespace.c:4221 [inline]
 __do_sys_mount fs/namespace.c:4432 [inline]
 __se_sys_mount+0x38c/0x400 fs/namespace.c:4409
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7faadfd8f90a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faae0cb8e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007faae0cb8ef0 RCX: 00007faadfd8f90a
RDX: 00002000000000c0 RSI: 0000200000000180 RDI: 00007faae0cb8eb0
RBP: 00002000000000c0 R08: 00007faae0cb8ef0 R09: 0000000000000010
R10: 0000000000000010 R11: 0000000000000246 R12: 0000200000000180
R13: 00007faae0cb8eb0 R14: 00000000000059d5 R15: 0000200000000480
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/15 20:45 upstream 1a1d569a75f3 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __srcu_check_read_flavor
2025/03/30 16:04 upstream 7f2ff7b62617 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __srcu_check_read_flavor
2025/03/20 10:45 upstream a7f2e10ecd8f 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __srcu_check_read_flavor
2025/02/24 04:15 upstream d082ecbc71e9 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __srcu_check_read_flavor
2025/02/19 18:44 upstream 6537cfb395f3 b257a9b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __srcu_check_read_flavor
2024/12/19 13:30 upstream eabcdba3ad40 1432fc84 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in __srcu_check_read_flavor
2024/12/11 19:47 upstream f92f4749861b ff949d25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __srcu_check_read_flavor
2025/01/04 09:19 linux-next 8155b4ef3466 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __srcu_check_read_flavor
2025/01/03 08:30 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __srcu_check_read_flavor
2024/12/23 22:10 linux-next 8155b4ef3466 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __srcu_check_read_flavor
2024/12/09 22:36 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __srcu_check_read_flavor
2025/03/22 11:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __srcu_check_read_flavor
2025/02/20 20:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e6747d19291c 50668798 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __srcu_check_read_flavor
* Struck through repros no longer work on HEAD.