syzbot


INFO: rcu detected stall in tipc_sk_lookup

Status: auto-closed as invalid on 2019/02/22 10:22
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+230075782a192b8ca880@syzkaller.appspotmail.com
First crash: 2102d, last: 2099d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
INFO: task hung in genl_family_rcv_msg net 1 1938d 1938d 0/26 closed as dup on 2019/01/11 10:23
Discussions (1)
Title Replies (including bot) Last reply
INFO: rcu detected stall in tipc_sk_lookup 0 (1) 2018/08/01 08:28

Sample crash report:
QAT: Invalid ioctl
INFO: rcu_sched self-detected stall on CPU
	1-....: (104998 ticks this GP) idle=b96/1/4611686018427387906 softirq=90514/90514 fqs=26228 
	 (t=105000 jiffies g=49576 c=49575 q=1332)
NMI backtrace for cpu 1
CPU: 1 PID: 21931 Comm: syz-executor5 Not tainted 4.18.0-rc7+ #173
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+0x1c9/0x2b4 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103
 nmi_trigger_cpumask_backtrace+0x151/0x192 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:156 [inline]
 rcu_dump_cpu_stacks+0x175/0x1c2 kernel/rcu/tree.c:1336
 print_cpu_stall kernel/rcu/tree.c:1485 [inline]
 check_cpu_stall.isra.60.cold.78+0x36c/0x5a6 kernel/rcu/tree.c:1553
 __rcu_pending kernel/rcu/tree.c:3244 [inline]
 rcu_pending kernel/rcu/tree.c:3291 [inline]
 rcu_check_callbacks+0x23f/0xcd0 kernel/rcu/tree.c:2646
 update_process_times+0x2d/0x70 kernel/time/timer.c:1636
 tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164
 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x3eb/0x10c0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1028 [inline]
 smp_apic_timer_interrupt+0x165/0x730 arch/x86/kernel/apic/apic.c:1053
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
 </IRQ>
RIP: 0010:lock_is_held_type+0x2d/0x210 kernel/locking/lockdep.c:3951
Code: 00 00 00 00 fc ff df 55 48 89 e5 41 55 49 89 fd 41 54 53 65 48 8b 1c 25 40 ee 01 00 48 8d bb 34 08 00 00 48 89 fa 48 83 ec 08 <48> c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 
RSP: 0018:ffff880195dce888 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: ffff880191e0c040 RCX: 0000000000000000
RDX: ffff880191e0c874 RSI: 00000000ffffffff RDI: ffff880191e0c874
RBP: ffff880195dce8a8 R08: ffffed003b6246d7 R09: ffffed003b6246d6
R10: ffffed003b6246d6 R11: ffff8801db1236b3 R12: ffff88019d7f8d40
R13: ffffffff87f926a0 R14: 0000000000000000 R15: 00000000000001fb
 lock_is_held include/linux/lockdep.h:344 [inline]
 rcu_read_lock_held+0xa9/0xc0 kernel/rcu/update.c:285
 __rhashtable_lookup include/linux/rhashtable.h:631 [inline]
 rhashtable_lookup include/linux/rhashtable.h:666 [inline]
 rhashtable_lookup_fast include/linux/rhashtable.h:692 [inline]
 tipc_sk_lookup+0x9f4/0xfa0 net/tipc/socket.c:2686
 tipc_nl_publ_dump+0x243/0xfa2 net/tipc/socket.c:3456
 __tipc_nl_compat_dumpit.isra.11+0x20b/0xad0 net/tipc/netlink_compat.c:192
 tipc_nl_compat_publ_dump net/tipc/netlink_compat.c:920 [inline]
 tipc_nl_compat_sk_dump+0x87c/0xca0 net/tipc/netlink_compat.c:968
 __tipc_nl_compat_dumpit.isra.11+0x337/0xad0 net/tipc/netlink_compat.c:201
 tipc_nl_compat_dumpit+0x1f4/0x440 net/tipc/netlink_compat.c:265
 tipc_nl_compat_handle net/tipc/netlink_compat.c:1142 [inline]
 tipc_nl_compat_recv+0x12b3/0x19a0 net/tipc/netlink_compat.c:1205
 genl_family_rcv_msg+0x8a3/0x1140 net/netlink/genetlink.c:601
 genl_rcv_msg+0xc6/0x168 net/netlink/genetlink.c:626
 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2453
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:637
 netlink_unicast_kernel net/netlink/af_netlink.c:1315 [inline]
 netlink_unicast+0x5a0/0x760 net/netlink/af_netlink.c:1341
 netlink_sendmsg+0xa18/0xfd0 net/netlink/af_netlink.c:1906
 sock_sendmsg_nosec net/socket.c:642 [inline]
 sock_sendmsg+0xd5/0x120 net/socket.c:652
 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2126
 __sys_sendmsg+0x11d/0x290 net/socket.c:2164
 __do_sys_sendmsg net/socket.c:2173 [inline]
 __se_sys_sendmsg net/socket.c:2171 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2171
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x456a09
Code: fd 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f55b2851c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f55b28526d4 RCX: 0000000000456a09
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000022
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d3058 R14: 00000000004c7d3e R15: 0000000000000000
INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 1-... } 106565 jiffies s: 4245 root: 0x2/.
blocking rcu_node structures:
Task dump for CPU 1:
syz-executor5   R  running task    22888 21931   4416 0x8000000c
Call Trace:

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/02 18:37 upstream 6b4703768268 0a7cf4ec .config console log report ci-upstream-kasan-gce
2018/07/31 16:22 upstream 527838d470e3 1a381291 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.