syzbot


WARNING in rcu_note_context_switch (3)

Status: upstream: reported on 2024/11/14 17:13
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+094799fb39e31554d5ee@syzkaller.appspotmail.com
First crash: 7d08h, last: 7d08h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING in rcu_note_context_switch (3) 0 (1) 2024/11/14 17:13
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in rcu_note_context_switch kernel C done 1 1874d 1874d 13/28 fixed on 2019/10/15 23:40
upstream WARNING in rcu_note_context_switch (2) rcu C 13 123d 119d 0/28 auto-obsoleted due to no activity on 2024/09/25 21:55

Sample crash report:
------------[ cut here ]------------
Voluntary context switch within RCU read-side critical section!
WARNING: CPU: 1 PID: 62 at kernel/rcu/tree_plugin.h:331 rcu_note_context_switch+0x354/0x49c kernel/rcu/tree_plugin.h:331
Modules linked in:
CPU: 1 UID: 0 PID: 62 Comm: kworker/u8:3 Not tainted 6.12.0-rc6-syzkaller-00279-gde2f378f2b77 #0
Hardware name: linux,dummy-virt (DT)
Workqueue: bond0 bond_mii_monitor
pstate: 614000c9 (nZCv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
pc : rcu_note_context_switch+0x354/0x49c kernel/rcu/tree_plugin.h:331
lr : rcu_note_context_switch+0x354/0x49c kernel/rcu/tree_plugin.h:331
sp : ffff800082f7ba00
x29: ffff800082f7ba00 x28: 0000000000000003 x27: f3f0000004214900
x26: 0000000000000000 x25: fff000007f8ee800 x24: 0000000000000000
x23: 0000000000000000 x22: f3f0000004214900 x21: 0000000000000000
x20: ffff8000827006c0 x19: fff000007f8ef6c0 x18: fffffffffffdbe58
x17: fff07ffffd1ef000 x16: ffff800080008000 x15: 0000000000000048
x14: fffffffffffdbea0 x13: ffff80008274e5d0 x12: 00000000000012cc
x11: 0000000000000644 x10: ffff800082807c30 x9 : ffff80008274e5d0
x8 : 00000000ffffdfff x7 : ffff8000827fe5d0 x6 : 0000000000000644
x5 : fff000007f8e43c8 x4 : 40000000ffffe644 x3 : fff07ffffd1ef000
x2 : 0000000000000000 x1 : 0000000000000000 x0 : f3f0000004214900
Call trace:
 rcu_note_context_switch+0x354/0x49c kernel/rcu/tree_plugin.h:331
 __schedule+0xb8/0x8fc kernel/sched/core.c:6570
 __schedule_loop kernel/sched/core.c:6767 [inline]
 schedule+0x34/0x104 kernel/sched/core.c:6782
 synchronize_rcu_expedited+0x17c/0x1f0 kernel/rcu/tree_exp.h:991
 synchronize_net+0x18/0x34 net/core/dev.c:11286
 dev_deactivate_many+0x120/0x278 net/sched/sch_generic.c:1377
 dev_deactivate+0x60/0xac net/sched/sch_generic.c:1403
 linkwatch_do_dev+0x78/0xec net/core/link_watch.c:175
 linkwatch_sync_dev+0x8c/0xc8 net/core/link_watch.c:263
 ethtool_op_get_link+0x18/0x34 net/ethtool/ioctl.c:62
 bond_check_dev_link+0x68/0x154 drivers/net/bonding/bond_main.c:873
 bond_miimon_inspect drivers/net/bonding/bond_main.c:2717 [inline]
 bond_mii_monitor+0x110/0x91c drivers/net/bonding/bond_main.c:2939
 process_one_work+0x15c/0x29c kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x24c/0x354 kernel/workqueue.c:3391
 kthread+0x114/0x118 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/10 17:09 upstream de2f378f2b77 6b856513 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte WARNING in rcu_note_context_switch
* Struck through repros no longer work on HEAD.