syzbot


WARNING in try_check_zero (3)

Status: upstream: reported syz repro on 2024/12/22 23:44
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+cf9a826a13c8657c38e9@syzkaller.appspotmail.com
First crash: 7d23h, last: 7d15h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bcachefs?] WARNING in try_check_zero (3) 0 (1) 2024/12/22 23:44
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in try_check_zero (2) kernel 1 90d 90d 0/28 auto-obsoleted due to no activity on 2024/11/26 20:26
upstream WARNING in try_check_zero kernel 100 183d 220d 0/28 auto-obsoleted due to no activity on 2024/09/04 12:10

Sample crash report:
------------[ cut here ]------------
Mixed reader flavors for srcu_struct at 0xffff888068604388.
WARNING: CPU: 1 PID: 5992 at kernel/rcu/srcutree.c:474 srcu_readers_unlock_idx kernel/rcu/srcutree.c:473 [inline]
WARNING: CPU: 1 PID: 5992 at kernel/rcu/srcutree.c:474 srcu_readers_active_idx_check kernel/rcu/srcutree.c:489 [inline]
WARNING: CPU: 1 PID: 5992 at kernel/rcu/srcutree.c:474 try_check_zero+0x45a/0x4a0 kernel/rcu/srcutree.c:1108
Modules linked in:
CPU: 1 UID: 0 PID: 5992 Comm: kworker/1:4 Not tainted 6.13.0-rc3-syzkaller-00073-geabcdba3ad40 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: rcu_gp process_srcu
RIP: 0010:srcu_readers_unlock_idx kernel/rcu/srcutree.c:473 [inline]
RIP: 0010:srcu_readers_active_idx_check kernel/rcu/srcutree.c:489 [inline]
RIP: 0010:try_check_zero+0x45a/0x4a0 kernel/rcu/srcutree.c:1108
Code: 8b 3d 7a c6 0e 0d e8 85 78 3a 0a e9 55 fd ff ff c6 05 01 99 7d 0e 01 90 48 c7 c7 c0 d6 0b 8c 48 8b 74 24 08 e8 67 28 db ff 90 <0f> 0b 90 90 e9 57 fe ff ff c6 05 df 98 7d 0e 01 90 48 c7 c7 c0 d6
RSP: 0018:ffffc900034efa50 EFLAGS: 00010246
RAX: 3561385088340b00 RBX: ffffe8ffffd57820 RCX: ffff888075a45a00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff81601962 R09: fffffbfff1cfa210
R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff888068604390
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000009
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fee10b2d000 CR3: 000000003263a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 srcu_advance_state kernel/rcu/srcutree.c:1724 [inline]
 process_srcu+0x11f/0x12e0 kernel/rcu/srcutree.c:1851
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/19 07:19 upstream eabcdba3ad40 1432fc84 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in try_check_zero
2024/12/18 23:42 upstream eabcdba3ad40 a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in try_check_zero
* Struck through repros no longer work on HEAD.