syzbot


INFO: rcu detected stall in cleanup_net (2)

Status: auto-closed as invalid on 2021/10/25 03:43
Reported-by: syzbot+88f1a8081aa8a52c3c52@syzkaller.appspotmail.com
First crash: 1246d, last: 1114d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in cleanup_net (3) net 1 1764d 1764d 0/27 auto-closed as invalid on 2019/12/15 02:54
upstream INFO: rcu detected stall in cleanup_net (6) net 63 312d 554d 0/27 closed as invalid on 2023/10/27 14:39
upstream INFO: rcu detected stall in cleanup_net kernel 5 2196d 2264d 0/27 closed as invalid on 2018/09/05 12:51
upstream INFO: rcu detected stall in cleanup_net (4) kernel C done 5 1409d 1405d 15/27 fixed on 2020/10/10 01:52
upstream INFO: rcu detected stall in cleanup_net (5) net 24 893d 1152d 0/27 closed as invalid on 2022/02/08 10:00
linux-4.19 INFO: rcu detected stall in cleanup_net 1 1636d 1636d 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 error 65 1d10h 369d 0/3 upstream: reported syz repro on 2023/07/12 14:45
upstream INFO: rcu detected stall in cleanup_net (2) kernel 1 2108d 2104d 0/27 auto-closed as invalid on 2019/04/05 22:14
linux-5.15 INFO: rcu detected stall in cleanup_net 33 9h45m 370d 0/3 upstream: reported on 2023/07/11 05:04
linux-4.19 BUG: soft lockup in cleanup_net (2) C 3 498d 610d 0/1 upstream: reported C repro on 2022/11/13 07:04
android-5-15 BUG: soft lockup in cleanup_net 4 43d 71d 0/2 premoderation: reported on 2024/05/05 13:03
linux-4.19 BUG: soft lockup in cleanup_net 4 744d 957d 0/1 auto-obsoleted due to no activity on 2022/10/30 18:15

Sample crash report:
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2020/09/19 18:44 (1000)
UDF-fs: error (device loop1): udf_process_sequence: Primary Volume Descriptor not found!
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2020/09/19 18:44 (1000)
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (1 GPs behind) idle=b1a/1/0x4000000000000002 softirq=28520/28535 fqs=3 
rcu: 	 (t=10502 jiffies g=25897 q=388)
rcu: rcu_preempt kthread starved for 10497 jiffies! g25897 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     I29760    10      2 0x80000000
Call Trace:
 context_switch syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 syzkaller/managers/linux-4-19/kernel/kernel/sched/core.c:3561
 schedule_timeout+0x4cf/0xfe0 syzkaller/managers/linux-4-19/kernel/kernel/time/timer.c:1818
 rcu_gp_kthread+0xdad/0x21c0 syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:2202
 kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259
 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415
NMI backtrace for cpu 1
CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
Call Trace:
 <IRQ>
 __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 syzkaller/managers/linux-4-19/kernel/lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace syzkaller/managers/linux-4-19/kernel/./include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15f/0x19c syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:1340
 print_cpu_stall syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:1550 [inline]
 __rcu_pending syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:3293 [inline]
 rcu_pending syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x62d/0xe19 syzkaller/managers/linux-4-19/kernel/kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 syzkaller/managers/linux-4-19/kernel/kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 syzkaller/managers/linux-4-19/kernel/kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 syzkaller/managers/linux-4-19/kernel/kernel/time/tick-sched.c:1278
 __run_hrtimer syzkaller/managers/linux-4-19/kernel/kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x3f6/0xe60 syzkaller/managers/linux-4-19/kernel/kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x32a/0x930 syzkaller/managers/linux-4-19/kernel/kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 syzkaller/managers/linux-4-19/kernel/arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__read_once_size syzkaller/managers/linux-4-19/kernel/./include/linux/compiler.h:207 [inline]
RIP: 0010:radix_tree_load_root syzkaller/managers/linux-4-19/kernel/lib/radix-tree.c:603 [inline]
RIP: 0010:__radix_tree_lookup+0x21/0x370 syzkaller/managers/linux-4-19/kernel/lib/radix-tree.c:1040
Code: e9 0a fe ff ff 0f 1f 40 00 41 57 48 8d 47 40 41 56 49 be 00 00 00 00 00 fc ff df 41 55 41 54 55 53 48 83 ec 40 48 89 44 24 38 <48> 89 44 24 30 48 c1 e8 03 4c 01 f0 48 89 7c 24 10 48 89 74 24 08
RSP: 0018:ffff8880b5a57b68 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: ffff88809ca49080 RBX: 00000000a9316c9b RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffffa9316c9b RDI: ffff88809ca49040
RBP: ffff88809ca49040 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809ca49090
R13: ffffed1013949219 R14: dffffc0000000000 R15: 0000000000000788
 tipc_topsrv_stop syzkaller/managers/linux-4-19/kernel/net/tipc/topsrv.c:698 [inline]
 tipc_topsrv_exit_net+0x25e/0x5c0 syzkaller/managers/linux-4-19/kernel/net/tipc/topsrv.c:722
 ops_exit_list+0xa5/0x150 syzkaller/managers/linux-4-19/kernel/net/core/net_namespace.c:153
 cleanup_net+0x3b4/0x8b0 syzkaller/managers/linux-4-19/kernel/net/core/net_namespace.c:553
 process_one_work+0x864/0x1570 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 syzkaller/managers/linux-4-19/kernel/kernel/workqueue.c:2298
 kthread+0x33f/0x460 syzkaller/managers/linux-4-19/kernel/kernel/kthread.c:259
 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/entry_64.S:415

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/15 06:20 linux-4.19.y 811218eceeaa 98682e5e .config console log report info ci2-linux-4-19 INFO: rcu detected stall in cleanup_net
2021/06/27 03:42 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 BUG: soft lockup in cleanup_net
2021/05/29 19:20 linux-4.19.y 6b7b0056defc 325a8dab .config console log report info ci2-linux-4-19 BUG: soft lockup in cleanup_net
2021/04/22 16:49 linux-4.19.y 2965db2e004c 33c28d03 .config console log report info ci2-linux-4-19 BUG: soft lockup in cleanup_net
* Struck through repros no longer work on HEAD.