syzbot


INFO: rcu detected stall in rxrpc_sendmsg

Status: auto-closed as invalid on 2022/02/04 15:08
Subsystems: net
[Documentation on labels]
First crash: 901d, last: 901d

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (7654 ticks this GP) idle=9b3/1/0x4000000000000000 softirq=194347/194347 fqs=5168 
	(t=10502 jiffies g=318801 q=36197)
NMI backtrace for cpu 0
CPU: 0 PID: 26620 Comm: syz-executor.0 Not tainted 5.15.0-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:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:711 [inline]
 rcu_pending kernel/rcu/tree.c:3878 [inline]
 rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2597
 update_process_times+0x16d/0x200 kernel/time/timer.c:1785
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:spin_unlock_bh include/linux/spinlock.h:395 [inline]
RIP: 0010:udp_lib_get_port+0x544/0x17e0 net/ipv4/udp.c:339
Code: 12 00 00 49 83 7f 70 00 0f 84 2e 03 00 00 e8 33 c9 c8 f9 49 8d 7f 60 be 08 00 00 00 e8 c5 47 0f fa 49 0f ba 6f 60 17 45 31 e4 <e8> 17 c9 c8 f9 48 8b 7c 24 28 e8 2d d5 8c 01 e8 08 c9 c8 f9 48 b8
RSP: 0018:ffffc9000571f0d8 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffff88809dbe9d00 RDI: 0000000000000003
RBP: 0000000000004e22 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87aefd85 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000004e22 R14: 000000000721d8ca R15: ffff8880addfa000
 __inet6_bind+0x61d/0x1aa0 net/ipv6/af_inet6.c:408
 inet6_bind+0x173/0x220 net/ipv6/af_inet6.c:462
 udp_sock_create6+0x1df/0x690 net/ipv6/ip6_udp_tunnel.c:42
 udp_sock_create include/net/udp_tunnel.h:62 [inline]
 rxrpc_open_socket+0x1fb/0x590 net/rxrpc/local_object.c:129
 rxrpc_lookup_local+0x896/0x1060 net/rxrpc/local_object.c:226
 rxrpc_sendmsg+0x369/0x630 net/rxrpc/af_rxrpc.c:542
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:724
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409
 __sys_sendmsg_sock+0x26/0x30 net/socket.c:2475
 io_sendmsg+0x50b/0x5f0 fs/io_uring.c:4797
 io_issue_sqe+0x19a1/0x7010 fs/io_uring.c:6648
 __io_queue_sqe fs/io_uring.c:6978 [inline]
 io_queue_sqe fs/io_uring.c:7020 [inline]
 io_submit_sqe fs/io_uring.c:7223 [inline]
 io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7329
 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10043
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f51091cdae9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5106743188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007f51092e0f60 RCX: 00007f51091cdae9
RDX: 0000000000000000 RSI: 000000000000688c RDI: 0000000000000003
RBP: 00007f5109227f25 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5109814b2f R14: 00007f5106743300 R15: 0000000000022000
 </TASK>
----------------
Code disassembly (best guess):
   0:	12 00                	adc    (%rax),%al
   2:	00 49 83             	add    %cl,-0x7d(%rcx)
   5:	7f 70                	jg     0x77
   7:	00 0f                	add    %cl,(%rdi)
   9:	84 2e                	test   %ch,(%rsi)
   b:	03 00                	add    (%rax),%eax
   d:	00 e8                	add    %ch,%al
   f:	33 c9                	xor    %ecx,%ecx
  11:	c8 f9 49 8d          	enterq $0x49f9,$0x8d
  15:	7f 60                	jg     0x77
  17:	be 08 00 00 00       	mov    $0x8,%esi
  1c:	e8 c5 47 0f fa       	callq  0xfa0f47e6
  21:	49 0f ba 6f 60 17    	btsq   $0x17,0x60(%r15)
  27:	45 31 e4             	xor    %r12d,%r12d
* 2a:	e8 17 c9 c8 f9       	callq  0xf9c8c946 <-- trapping instruction
  2f:	48 8b 7c 24 28       	mov    0x28(%rsp),%rdi
  34:	e8 2d d5 8c 01       	callq  0x18cd566
  39:	e8 08 c9 c8 f9       	callq  0xf9c8c946
  3e:	48                   	rex.W
  3f:	b8                   	.byte 0xb8

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/06 15:07 upstream fe91c4725aee 4c1be0be .config console log report info ci-upstream-kasan-gce INFO: rcu detected stall in rxrpc_sendmsg
* Struck through repros no longer work on HEAD.