syzbot


INFO: rcu detected stall in mrp_join_timer

Status: auto-closed as invalid on 2021/03/15 12:15
Reported-by: syzbot+52543f85839e0c2e22ae@syzkaller.appspotmail.com
First crash: 1562d, last: 1250d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: rcu detected stall in mrp_join_timer 7 1400d 1565d 0/1 auto-closed as invalid on 2020/10/17 01:22
upstream INFO: rcu detected stall in mrp_join_timer net 1 1562d 1562d 0/26 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in mrp_join_timer (3) net 1 121d 121d 0/26 closed as invalid on 2024/02/01 10:31
upstream INFO: rcu detected stall in mrp_join_timer (2) net 57 774d 1523d 0/26 auto-closed as invalid on 2022/07/04 18:27

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10500 ticks this GP) idle=98e/1/0x4000000000000004 softirq=150005/150005 fqs=0 
rcu: 	 (t=10500 jiffies g=184305 q=759)
rcu: rcu_preempt kthread starved for 10500 jiffies! g184305 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29208    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_timeout+0x4cf/0xfe0 kernel/time/timer.c:1825
 rcu_gp_kthread+0xdad/0x21c0 kernel/rcu/tree.c:2202
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
NMI backtrace for cpu 0
CPU: 0 PID: 16336 Comm: syz-executor.5 Not tainted 4.19.157-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15f/0x19c kernel/rcu/tree.c:1340
 print_cpu_stall kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x62d/0xe19 kernel/rcu/tree.c:2682
 update_process_times+0x2a/0xb0 kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:167 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline]
RIP: 0010:check_memory_region+0xcb/0x170 mm/kasan/kasan.c:267
Code: 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 e8 80 38 00 <74> f2 eb d8 41 bc 08 00 00 00 48 89 ea 45 29 dc 4e 8d 5c 25 00 eb
RSP: 0018:ffff8880ba0077c0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffed1017400f1b RBX: ffffed1017400f25 RCX: ffffffff812a7696
RDX: ffffed1017400f25 RSI: 0000000000000060 RDI: ffff8880ba0078c8
RBP: ffffed1017400f19 R08: 0000000000000001 R09: ffffed1017400f24
R10: ffff8880ba007927 R11: 00000000a984e223 R12: 0000000000000060
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8880ba0078c8
 memset+0x20/0x40 mm/kasan/kasan.c:285
 memset include/linux/string.h:358 [inline]
 __unwind_start+0x76/0x960 arch/x86/kernel/unwind_orc.c:595
 unwind_start arch/x86/include/asm/unwind.h:60 [inline]
 __save_stack_trace+0x72/0x190 arch/x86/kernel/stacktrace.c:43
 save_stack mm/kasan/kasan.c:448 [inline]
 set_track mm/kasan/kasan.c:460 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
 __do_kmalloc_node mm/slab.c:3689 [inline]
 __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3703
 __kmalloc_reserve net/core/skbuff.c:137 [inline]
 __alloc_skb+0xae/0x560 net/core/skbuff.c:205
 alloc_skb include/linux/skbuff.h:995 [inline]
 mrp_pdu_init net/802/mrp.c:303 [inline]
 mrp_pdu_append_vecattr_event+0x7d2/0x1050 net/802/mrp.c:402
 mrp_attr_event+0x15d/0x220 net/802/mrp.c:497
 mrp_mad_event net/802/mrp.c:577 [inline]
 mrp_join_timer+0x5a/0xc0 net/802/mrp.c:594
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1703 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716
 __do_softirq+0x26c/0x9a0 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:149 [inline]
RIP: 0010:unwind_next_frame+0x231/0x1c60 arch/x86/kernel/unwind_orc.c:422
Code: ff 39 d6 0f 83 df 10 00 00 48 ba 00 00 00 00 00 fc ff df 41 89 f0 4a 8d 3c 85 2c 01 17 8c 49 89 f9 49 c1 e9 03 45 0f b6 0c 11 <48> 89 fa 83 e2 07 83 c2 03 44 38 ca 7c 32 45 84 c9 74 2d 4c 89 44
RSP: 0018:ffff88802b8ff8d0 EFLAGS: 00000a03 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff1100571ff22 RCX: ffffffff8820008c
RDX: dffffc0000000000 RSI: 0000000000072000 RDI: ffffffff8c33812c
RBP: 0000000000000001 R08: 0000000000072000 R09: 0000000000000000
R10: 0000000000074071 R11: 0000000000000001 R12: ffff88802b8ffa00
R13: ffff88802b8ff9ed R14: ffff88802b8ff9f0 R15: ffff88802b8ff9b8
 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
 save_stack mm/kasan/kasan.c:448 [inline]
 set_track mm/kasan/kasan.c:460 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
 slab_post_alloc_hook mm/slab.h:445 [inline]
 slab_alloc mm/slab.c:3397 [inline]
 __do_kmalloc mm/slab.c:3725 [inline]
 __kmalloc+0x144/0x3c0 mm/slab.c:3736
 kmalloc include/linux/slab.h:520 [inline]
 sk_prot_alloc+0x1e2/0x2d0 net/core/sock.c:1466
 sk_alloc+0x36/0xec0 net/core/sock.c:1520
 af_alg_accept+0x99/0x590 crypto/af_alg.c:285
 __sys_accept4+0x322/0x5f0 net/socket.c:1589
 __do_sys_accept4 net/socket.c:1624 [inline]
 __se_sys_accept4 net/socket.c:1621 [inline]
 __x64_sys_accept4+0x93/0xf0 net/socket.c:1621
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f6a5cb40c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000120
RAX: ffffffffffffffda RBX: 00000000000002c0 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fff42eefeef R14: 00007f6a5cb419c0 R15: 000000000118bf2c

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/15 12:14 linux-4.19.y 31acccdc8774 1bf9a662 .config console log report info ci2-linux-4-19
2020/10/28 07:48 linux-4.19.y ad326970d25c 96e03c1c .config console log report info ci2-linux-4-19
2020/08/30 23:23 linux-4.19.y f6d5cb9e2c06 d5a3ae1f .config console log report ci2-linux-4-19
2020/08/27 18:34 linux-4.19.y f6d5cb9e2c06 816e0689 .config console log report ci2-linux-4-19
2020/08/25 19:10 linux-4.19.y d18b78abc0c6 344da168 .config console log report ci2-linux-4-19
2020/08/25 04:41 linux-4.19.y d18b78abc0c6 344da168 .config console log report ci2-linux-4-19
2020/08/20 12:49 linux-4.19.y a834132bd465 ed282a3a .config console log report ci2-linux-4-19
2020/08/16 01:42 linux-4.19.y c14d30dc9987 5ce13532 .config console log report ci2-linux-4-19
2020/08/15 18:43 linux-4.19.y c14d30dc9987 5ce13532 .config console log report ci2-linux-4-19
2020/08/14 10:39 linux-4.19.y c14d30dc9987 54ce1ed6 .config console log report ci2-linux-4-19
2020/08/13 13:09 linux-4.19.y c14d30dc9987 ee7cb8b6 .config console log report ci2-linux-4-19
2020/08/13 04:36 linux-4.19.y c14d30dc9987 bc15f7db .config console log report ci2-linux-4-19
2020/08/01 01:16 linux-4.19.y 13af6c74b14a 8df85ed9 .config console log report ci2-linux-4-19
2020/07/14 14:21 linux-4.19.y dce0f88600e4 6f458026 .config console log report ci2-linux-4-19
2020/07/10 17:16 linux-4.19.y dce0f88600e4 56d01184 .config console log report ci2-linux-4-19
2020/07/02 15:19 linux-4.19.y 399849e4654e f30c14bf .config console log report ci2-linux-4-19
2020/06/14 04:07 linux-4.19.y 3fc898571b97 a61674a5 .config console log report ci2-linux-4-19
2020/06/12 12:47 linux-4.19.y 3fc898571b97 819b58b0 .config console log report ci2-linux-4-19
2020/06/01 19:35 linux-4.19.y 2d16cf4817bc a0331e89 .config console log report ci2-linux-4-19
2020/05/15 11:12 linux-4.19.y 258f0cf7ac3b 2d572622 .config console log report ci2-linux-4-19
2020/04/30 00:10 linux-4.19.y 765675379b62 2dd552a5 .config console log report ci2-linux-4-19
2020/04/26 00:08 linux-4.19.y 7edd66cf6167 b8bb8e5f .config console log report ci2-linux-4-19
2020/04/19 17:03 linux-4.19.y 8488c3f3bc86 6dfd45e1 .config console log report ci2-linux-4-19
2020/03/03 10:15 linux-4.19.y a083db76118d 350a7a26 .config console log report ci2-linux-4-19
2020/02/09 19:03 linux-4.19.y b499cf4b3a90 6ece2ea5 .config console log report ci2-linux-4-19
2020/02/06 01:03 linux-4.19.y b499cf4b3a90 662cf49a .config console log report ci2-linux-4-19
2020/02/04 23:32 linux-4.19.y 32ee7492f104 93e5e335 .config console log report ci2-linux-4-19
2020/01/08 08:03 linux-4.19.y 3d40d7117e35 6738e0b3 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.