syzbot


INFO: rcu detected stall in cleanup_net

Status: closed as invalid on 2018/09/05 12:51
Subsystems: kernel
[Documentation on labels]
First crash: 2412d, last: 2344d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in cleanup_net (3) net 1 1912d 1912d 0/28 auto-closed as invalid on 2019/12/15 02:54
upstream INFO: rcu detected stall in cleanup_net (6) net 63 459d 702d 0/28 closed as invalid on 2023/10/27 14:39
linux-4.19 INFO: rcu detected stall in cleanup_net (2) 4 1262d 1394d 0/1 auto-closed as invalid on 2021/10/25 03:43
upstream INFO: rcu detected stall in cleanup_net (4) kernel C done 5 1557d 1553d 15/28 fixed on 2020/10/10 01:52
upstream INFO: rcu detected stall in cleanup_net (5) net 24 1040d 1300d 0/28 closed as invalid on 2022/02/08 10:00
linux-4.19 INFO: rcu detected stall in cleanup_net 1 1784d 1784d 0/1 auto-closed as invalid on 2020/05/21 02:17
linux-6.1 INFO: rcu detected stall in cleanup_net origin:lts-only syz inconclusive 140 31d 517d 0/3 upstream: reported syz repro on 2023/07/12 14:45
upstream INFO: rcu detected stall in cleanup_net (2) kernel 1 2255d 2251d 0/28 auto-closed as invalid on 2019/04/05 22:14
linux-5.15 INFO: rcu detected stall in cleanup_net origin:lts-only syz 73 2d11h 518d 0/3 upstream: reported syz repro on 2023/07/11 05:04

Sample crash report:
could not allocate digest TFM handle sha384-avx
kernel msg: ebtables bug: please report to author: Wrong len argument
INFO: rcu_sched detected stalls on CPUs/tasks:
	(detected by 1, t=100002 jiffies, g=33347, c=33346, q=61)
All QSes seen, last rcu_sched kthread activity 100002 (4294994194-4294894192), jiffies_till_next_fqs=3, root ->qsmask 0x0
kworker/u4:6    R  running task    54320   638      2 0x80000008
Workqueue: netns cleanup_net
Call Trace:
 <IRQ>
 sched_show_task+0x610/0x760 kernel/sched/core.c:5332
 print_other_cpu_stall kernel/rcu/tree.c:1441 [inline]
 check_cpu_stall kernel/rcu/tree.c:1559 [inline]
 __rcu_pending kernel/rcu/tree.c:3244 [inline]
 rcu_pending kernel/rcu/tree.c:3291 [inline]
 rcu_check_callbacks+0x2632/0x29a0 kernel/rcu/tree.c:2646
 update_process_times+0x132/0x1a0 kernel/time/timer.c:1636
 tick_sched_handle kernel/time/tick-sched.c:164 [inline]
 tick_sched_timer+0x3bf/0x520 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0xc74/0x1680 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x451/0x13c0 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt+0x6b/0x250 arch/x86/kernel/apic/apic.c:1025
 smp_apic_timer_interrupt+0x5a/0x90 arch/x86/kernel/apic/apic.c:1053
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:868
 </IRQ>
RIP: 0010:rep_nop arch/x86/include/asm/processor.h:658 [inline]
RIP: 0010:cpu_relax arch/x86/include/asm/processor.h:663 [inline]
RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline]
RIP: 0010:smp_call_function_single+0x357/0x500 kernel/smp.c:302
Code: 85 93 00 00 00 e8 89 c5 12 00 e9 be 00 00 00 8b 3a e8 ed 76 6e 00 45 85 f6 74 91 41 89 de eb 08 0f 1f 00 e8 6b c5 12 00 f3 90 <8b> 5c 24 58 4c 89 e7 e8 ad 6c 6e 00 8b 00 83 e0 01 83 e3 01 85 c0 
RSP: 0018:ffff8801d0b9fa20 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffffffff815565a5 RBX: 0000000000000001 RCX: ffff8801d0dd1d80
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea000ae45ba0
RBP: ffff8801d0b9faf8 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8117d090 R12: ffff8801d0b9fa78
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8801d0dd2680
 _rcu_barrier+0x4a7/0x790 kernel/rcu/tree.c:3434
 rcu_barrier_sched kernel/rcu/tree.c:3474 [inline]
 rcu_barrier+0x1c/0x20 kernel/rcu/tree_plugin.h:933
 cleanup_net+0x112c/0x1710 net/core/net_namespace.c:534
 process_one_work+0x1655/0x2000 kernel/workqueue.c:2153
 worker_thread+0x1136/0x2490 kernel/workqueue.c:2296
 kthread+0x473/0x4b0 kernel/kthread.c:247
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:415
rcu_sched kthread starved for 100002 jiffies! g33347 c33346 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0
RCU grace-period kthread stack dump:
rcu_sched       R  running task    61768    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2857 [inline]
 __schedule+0x652/0x780 kernel/sched/core.c:3507
 schedule+0x1cc/0x300 kernel/sched/core.c:3551
 schedule_timeout+0x416/0x5b0 kernel/time/timer.c:1801
 rcu_gp_kthread+0x1ed1/0x3a40 kernel/rcu/tree.c:2179
 kthread+0x473/0x4b0 kernel/kthread.c:247
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:415

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/11 05:54 https://github.com/google/kmsan.git master b64f7ec04e12 2e0e3130 .config console log report ci-upstream-kmsan-gce
2018/06/20 20:07 https://github.com/google/kmsan.git master 123906095e30 095ef806 .config console log report ci-upstream-kmsan-gce
2018/06/09 08:45 https://github.com/google/kmsan.git master d6c351f832e3 866118af .config console log report ci-upstream-kmsan-gce
2018/06/08 23:43 https://github.com/google/kmsan.git master d6c351f832e3 866118af .config console log report ci-upstream-kmsan-gce
2018/05/04 07:54 https://github.com/google/kmsan.git master d2d741e5d189 9ce14f4b .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.