syzbot


WARNING in try_check_zero (2)

Status: upstream: reported on 2024/09/27 20:33
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+5769bce04b3a8294deda@syzkaller.appspotmail.com
First crash: 17d, last: 17d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in try_check_zero (2) 0 (1) 2024/09/27 20:33
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in try_check_zero kernel 100 111d 147d 0/28 auto-obsoleted due to no activity on 2024/09/04 12:10

Sample crash report:
------------[ cut here ]------------
Mixed NMI-safe readers for srcu_struct at 0xffffc900037148b8.
WARNING: CPU: 1 PID: 5286 at kernel/rcu/srcutree.c:456 srcu_readers_unlock_idx kernel/rcu/srcutree.c:455 [inline]
WARNING: CPU: 1 PID: 5286 at kernel/rcu/srcutree.c:456 srcu_readers_active_idx_check kernel/rcu/srcutree.c:468 [inline]
WARNING: CPU: 1 PID: 5286 at kernel/rcu/srcutree.c:456 try_check_zero+0x3b1/0x3e0 kernel/rcu/srcutree.c:1083
Modules linked in:
CPU: 1 UID: 0 PID: 5286 Comm: kworker/1:5 Not tainted 6.11.0-next-20240927-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: rcu_gp process_srcu
RIP: 0010:srcu_readers_unlock_idx kernel/rcu/srcutree.c:455 [inline]
RIP: 0010:srcu_readers_active_idx_check kernel/rcu/srcutree.c:468 [inline]
RIP: 0010:try_check_zero+0x3b1/0x3e0 kernel/rcu/srcutree.c:1083
Code: 8b 3d b3 1a 19 0d e8 ae f2 48 0a e9 e5 fd ff ff c6 05 9e 22 8c 0e 01 90 48 c7 c7 20 12 0c 8c 48 8b 74 24 18 e8 c0 33 db ff 90 <0f> 0b 90 90 e9 e7 fe ff ff 49 39 cf 0f 94 c0 48 83 c4 30 5b 41 5c
RSP: 0018:ffffc9000421fa58 EFLAGS: 00010246
RAX: 860e4f5d8e8ca000 RBX: ffffe8ffffd35720 RCX: ffff88802d52bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffe8ffffd35718 R08: ffffffff8155d402 R09: fffffbfff1cf9fd8
R10: dffffc0000000000 R11: fffffbfff1cf9fd8 R12: ffffc900037148c0
R13: 0000000000000002 R14: dffffc0000000000 R15: 0000000000000003
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002013c030 CR3: 0000000020f7c000 CR4: 00000000003526f0
DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 srcu_advance_state kernel/rcu/srcutree.c:1691 [inline]
 process_srcu+0x122/0x1320 kernel/rcu/srcutree.c:1818
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa63/0x1850 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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/27 20:25 linux-next 40e0c9d414f5 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in try_check_zero
* Struck through repros no longer work on HEAD.