syzbot


INFO: rcu detected stall in sendmsg (2)

Status: auto-closed as invalid on 2022/05/13 12:25
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 297d, last: 297d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sendmsg 1 426d 426d 0/24 auto-closed as invalid on 2022/01/03 17:11

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10486 ticks this GP) idle=82f/1/0x4000000000000000 softirq=202213/202213 fqs=5249 
	(t=10502 jiffies g=309113 q=779)
NMI backtrace for cpu 1
CPU: 1 PID: 21622 Comm: syz-executor.3 Not tainted 5.17.0-rc3-syzkaller-00247-g83e396641110 #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+0x1dc/0x2d8 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343
 print_cpu_stall kernel/rcu/tree_stall.h:604 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:688 [inline]
 rcu_pending kernel/rcu/tree.c:3919 [inline]
 rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2617
 update_process_times+0x197/0x200 kernel/time/timer.c:1785
 tick_sched_handle kernel/time/tick-sched.c:226 [inline]
 tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1428
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline]
 __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x16b/0x1f0 kernel/softirq.c:390
Code: 8a e8 a9 29 c2 08 65 66 8b 05 b1 a9 b2 7e 66 85 c0 75 57 bf 01 00 00 00 e8 c2 2e 0a 00 e8 cd 70 3b 00 fb 65 8b 05 5d 8b b1 7e <85> c0 75 05 e8 04 75 af ff 48 c7 44 24 20 0e 36 e0 45 49 c7 04 1c
RSP: 0018:ffffc9000428f340 EFLAGS: 00000286
RAX: 0000000000000201 RBX: 1ffff92000851e6c RCX: ffffffff81676811
RDX: dffffc0000000000 RSI: 0000000000000201 RDI: 0000000000000000
RBP: ffffc9000428f400 R08: dffffc0000000000 R09: fffffbfff1ffc3e3
R10: fffffbfff1ffc3e3 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff92000851e70 R14: ffffc9000428f380 R15: 0000000000000201
 spin_unlock_bh include/linux/spinlock.h:394 [inline]
 batadv_tt_local_purge+0x2bf/0x350 net/batman-adv/translation-table.c:1357
 batadv_tt_local_resize_to_mtu+0x8a/0x130 net/batman-adv/translation-table.c:3957
 batadv_netlink_set_mesh+0x57d/0x1130 net/batman-adv/netlink.c:498
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0x1032/0x1480 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2494
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
 netlink_unicast+0x81a/0x9f0 net/netlink/af_netlink.c:1343
 netlink_sendmsg+0xaec/0xe60 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 ____sys_sendmsg+0x5b9/0x910 net/socket.c:2413
 ___sys_sendmsg net/socket.c:2467 [inline]
 __sys_sendmsg+0x280/0x370 net/socket.c:2496
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe3a71bc059
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe3a5b31168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe3a72cef60 RCX: 00007fe3a71bc059
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fe3a721608d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc814dc50f R14: 00007fe3a5b31300 R15: 0000000000022000
 </TASK>
----------------
Code disassembly (best guess):
   0:	8a e8                	mov    %al,%ch
   2:	a9 29 c2 08 65       	test   $0x6508c229,%eax
   7:	66 8b 05 b1 a9 b2 7e 	mov    0x7eb2a9b1(%rip),%ax        # 0x7eb2a9bf
   e:	66 85 c0             	test   %ax,%ax
  11:	75 57                	jne    0x6a
  13:	bf 01 00 00 00       	mov    $0x1,%edi
  18:	e8 c2 2e 0a 00       	callq  0xa2edf
  1d:	e8 cd 70 3b 00       	callq  0x3b70ef
  22:	fb                   	sti
  23:	65 8b 05 5d 8b b1 7e 	mov    %gs:0x7eb18b5d(%rip),%eax        # 0x7eb18b87
* 2a:	85 c0                	test   %eax,%eax <-- trapping instruction
  2c:	75 05                	jne    0x33
  2e:	e8 04 75 af ff       	callq  0xffaf7537
  33:	48 c7 44 24 20 0e 36 	movq   $0x45e0360e,0x20(%rsp)
  3a:	e0 45
  3c:	49                   	rex.WB
  3d:	c7                   	.byte 0xc7
  3e:	04 1c                	add    $0x1c,%al

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/02/12 12:15 upstream 83e396641110 8b9ca619 .config log report info INFO: rcu detected stall in sendmsg
* Struck through repros no longer work on HEAD.