syzbot


INFO: rcu detected stall in rose_loopback_timer

Status: fixed on 2019/05/27 12:48
Subsystems: hams
[Documentation on labels]
Fix commit: 0453c6824595 net/rose: fix unbound loop in rose_loopback_timer()
First crash: 1833d, last: 1809d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in rose_loopback_timer (2) hams 2 1695d 1781d 0/26 auto-closed as invalid on 2020/01/01 18:42

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=8da/1/0x4000000000000004 softirq=204739/204740 fqs=5250 
	(t=10501 jiffies g=284741 q=1025)
NMI backtrace for cpu 0
CPU: 0 PID: 29466 Comm: syz-executor.5 Not tainted 5.1.0+ #8
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2625 [inline]
 rcu_sched_clock_irq.cold+0x4d1/0xbfd kernel/rcu/tree.c:2161
 update_process_times+0x32/0x80 kernel/time/timer.c:1639
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1298
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1040 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1065
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806
RIP: 0010:rose_find_socket+0x64/0x120 net/rose/af_rose.c:281
Code: 83 ec 68 0f 84 bf 00 00 00 48 bb 00 00 00 00 00 fc ff df eb 34 e8 3c 0b 25 fb 49 8d 7c 24 68 48 89 f8 48 c1 e8 03 80 3c 18 00 <0f> 85 a4 00 00 00 4d 8b 64 24 68 4d 85 e4 0f 84 8a 00 00 00 e8 13
RSP: 0018:ffff8880ae809c80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1100d75f565 RBX: dffffc0000000000 RCX: ffffffff864bcf06
RDX: 0000000000000100 RSI: ffffffff864bcea4 RDI: ffff88806bafab28
RBP: ffff8880ae809ca8 R08: ffff888079cba500 R09: ffffed1015d0137e
R10: ffffed1015d0137d R11: 0000000000000003 R12: ffff88806bafaac0
R13: 00000000fffff034 R14: ffff88809adfc280 R15: 0000000000000000
 rose_loopback_timer+0x336/0x480 net/rose/rose_loopback.c:94
 call_timer_fn+0x196/0x720 kernel/time/timer.c:1322
 expire_timers kernel/time/timer.c:1366 [inline]
 __run_timers kernel/time/timer.c:1685 [inline]
 __run_timers kernel/time/timer.c:1653 [inline]
 run_timer_softirq+0x66f/0x1740 kernel/time/timer.c:1698
 __do_softirq+0x266/0x95a kernel/softirq.c:293
 invoke_softirq kernel/softirq.c:374 [inline]
 irq_exit+0x180/0x1d0 kernel/softirq.c:414
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x14a/0x570 arch/x86/kernel/apic/apic.c:1067
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_cmp8+0x18/0x20 kernel/kcov.c:170
Code: 8b 4d 08 e8 3a ff ff ff 5d c3 0f 1f 84 00 00 00 00 00 55 48 89 f2 48 89 fe bf 06 00 00 00 48 89 e5 48 8b 4d 08 e8 18 ff ff ff <5d> c3 66 0f 1f 44 00 00 55 40 0f b6 d6 40 0f b6 f7 bf 01 00 00 00
RSP: 0018:ffff888085e57800 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000002 RBX: 00000000006bcfca RCX: ffffffff83191666
RDX: 0000000000001000 RSI: 0000000000000744 RDI: 0000000000000006
RBP: ffff888085e57800 R08: ffff888079cba500 R09: ffff8880a37af240
R10: ffffed10146f5e8b R11: ffff8880a37af45f R12: 0000000000000744
R13: 0000000000001000 R14: dffffc0000000000 R15: 0000000000000744
 crc_t10dif_generic+0xb6/0xf0 crypto/crct10dif_common.c:74
 chksum_update+0x54/0xb0 crypto/crct10dif_generic.c:56
 crypto_shash_update+0xcf/0x130 crypto/shash.c:125
 shash_ahash_update+0xb6/0x120 crypto/shash.c:252
 shash_async_update+0x1b/0x20 crypto/shash.c:260
 crypto_ahash_update include/crypto/hash.h:533 [inline]
 hash_sendmsg+0x52a/0xad0 crypto/algif_hash.c:107
 sock_sendmsg_nosec net/socket.c:660 [inline]
 sock_sendmsg+0x12e/0x170 net/socket.c:671
 ___sys_sendmsg+0x3e2/0x960 net/socket.c:2292
 __sys_sendmmsg+0x1bf/0x4d0 net/socket.c:2387
 __do_sys_sendmmsg net/socket.c:2416 [inline]
 __se_sys_sendmmsg net/socket.c:2413 [inline]
 __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2413
 do_syscall_64+0x103/0x670 arch/x86/entry/common.c:298
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9efc1b9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458da9
RDX: 049249249249272a RSI: 0000000020000380 RDI: 0000000000000005
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9efc1ba6d4
R13: 00000000004c60b6 R14: 00000000004dab08 R15: 00000000ffffffff

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/12 10:20 net-old 8f779443b440 c017728b .config console log report ci-upstream-net-this-kasan-gce
2019/04/25 14:12 net-old 20ff83f10f11 8e3c52b1 .config console log report ci-upstream-net-this-kasan-gce
2019/04/18 21:06 net-old 19fad20d15a6 b0e8efcb .config console log report ci-upstream-net-this-kasan-gce
2019/04/28 23:49 net-next-old b1a79360ee86 b617407b .config console log report ci-upstream-net-kasan-gce
2019/04/25 10:59 net-next-old c049d56eb219 8e3c52b1 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.