syzbot


INFO: rcu detected stall in packet_sendmsg (2)

Status: auto-closed as invalid on 2020/05/03 17:34
Subsystems: net
[Documentation on labels]
First crash: 1639d, last: 1542d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in packet_sendmsg net 10 1684d 1690d 13/26 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in packet_sendmsg (3) net 2 702d 790d 0/26 auto-closed as invalid on 2022/08/21 13:12

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=d9e/1/0x4000000000000002 softirq=311227/311228 fqs=5239 
	(t=10501 jiffies g=379661 q=4002)
NMI backtrace for cpu 0
CPU: 0 PID: 27133 Comm: syz-executor.4 Not tainted 5.5.0-rc6-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+0x197/0x210 lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x23b/0x28b 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:2827 [inline]
 rcu_sched_clock_irq.cold+0x509/0xc0d kernel/rcu/tree.c:2271
 update_process_times+0x2d/0x70 kernel/time/timer.c:1726
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:167
 tick_sched_timer+0x53/0x140 kernel/time/tick-sched.c:1310
 __run_hrtimer kernel/time/hrtimer.c:1517 [inline]
 __hrtimer_run_queues+0x364/0xe40 kernel/time/hrtimer.c:1579
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1641
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x160/0x610 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x50 kernel/kcov.c:192
Code: 28 8d 7e 81 e2 00 01 1f 00 48 8b 75 08 75 2b 8b 90 80 13 00 00 83 fa 02 75 20 48 8b 88 88 13 00 00 8b 80 84 13 00 00 48 8b 11 <48> 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 5d c3 0f 1f 00 65
RSP: 0018:ffffc90004a27730 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: ffff8880658253e8 RCX: ffffc90012088000
RDX: 000000000003ffff RSI: ffffffff86447ee0 RDI: ffff888065825378
RBP: ffffc90004a27730 R08: ffff888058414000 R09: fffffbfff165e7b5
R10: fffffbfff165e7b4 R11: ffffffff8b2f3da7 R12: ffff888065825338
R13: ffff888065825320 R14: dffffc0000000000 R15: ffff888065825320
 cbq_dequeue_prio net/sched/sch_cbq.c:774 [inline]
 cbq_dequeue_1 net/sched/sch_cbq.c:792 [inline]
 cbq_dequeue+0x1ac0/0x22a0 net/sched/sch_cbq.c:816
 dequeue_skb net/sched/sch_generic.c:263 [inline]
 qdisc_restart net/sched/sch_generic.c:366 [inline]
 __qdisc_run+0x1a5/0x1770 net/sched/sch_generic.c:384
 __dev_xmit_skb net/core/dev.c:3677 [inline]
 __dev_queue_xmit+0x163f/0x35c0 net/core/dev.c:3982
 dev_queue_xmit+0x18/0x20 net/core/dev.c:4046
 packet_snd net/packet/af_packet.c:2966 [inline]
 packet_sendmsg+0x260d/0x6220 net/packet/af_packet.c:2991
 sock_sendmsg_nosec net/socket.c:639 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:659
 __sys_sendto+0x262/0x380 net/socket.c:1985
 __do_sys_sendto net/socket.c:1997 [inline]
 __se_sys_sendto net/socket.c:1993 [inline]
 __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1993
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45aff9
Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1c730d7c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f1c730d86d4 RCX: 000000000045aff9
RDX: 0000000000000054 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000993 R14: 00000000004cacd6 R15: 000000000075bf2c

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/18 09:50 upstream 25e73aadf297 3de7aabb .config console log report ci-upstream-kasan-gce-root
2019/10/29 20:07 upstream 23fdb198ae81 5ea87a66 .config console log report ci-upstream-kasan-gce-root
2020/02/03 17:27 upstream 754beeec1d90 93e5e335 .config console log report ci-upstream-kasan-gce-386
2020/02/01 22:10 upstream 94f2630b1897 2274ad39 .config console log report ci-upstream-kasan-gce-386
2020/01/25 10:47 upstream d5d359b0ac3f 2e95ab33 .config console log report ci-upstream-kasan-gce-386
2020/01/10 22:35 upstream e69ec487b2c7 4de4e9f0 .config console log report ci-upstream-kasan-gce-386
2019/11/17 02:44 net-old 3df70afe8d33 d5696d51 .config console log report ci-upstream-net-this-kasan-gce
2019/11/04 18:45 net-old 1204c70d9dcb 76630fc9 .config console log report ci-upstream-net-this-kasan-gce
2019/10/30 08:50 net-old 6f74a55d4900 5ea87a66 .config console log report ci-upstream-net-this-kasan-gce
2019/11/22 13:28 linux-next b9d3d0140506 598ca6c8 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.