INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=172029, c=172028, q=199) All QSes seen, last rcu_preempt kthread activity 10495 (4295273890-4295263395), jiffies_till_next_fqs=1, root ->qsmask 0x0 syz-executor.2 R running task 28688 16240 7332 0x00000008 Call Trace: sched_show_task kernel/sched/core.c:5168 [inline] sched_show_task.cold+0x2e3/0x347 kernel/sched/core.c:5143 print_other_cpu_stall kernel/rcu/tree.c:1501 [inline] check_cpu_stall kernel/rcu/tree.c:1616 [inline] __rcu_pending kernel/rcu/tree.c:3390 [inline] rcu_pending kernel/rcu/tree.c:3452 [inline] rcu_check_callbacks.cold+0xd3f/0xdaa kernel/rcu/tree.c:2792 update_process_times+0x29/0x60 kernel/time/timer.c:1590 tick_sched_handle+0x7d/0x150 kernel/time/tick-sched.c:165 tick_sched_timer+0x3e/0x120 kernel/time/tick-sched.c:1223 __run_hrtimer kernel/time/hrtimer.c:1223 [inline] __hrtimer_run_queues+0x25c/0xbb0 kernel/time/hrtimer.c:1287 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1100 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:60 RSP: 0018:ffff8880aea077c0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: ffff88807d82a480 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000100 RSI: ffffffff87d842e0 RDI: 0000000000000282 RBP: ffff88809ff88080 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808882f2c0 R13: ffff88804c29f030 R14: ffff88809ff880b8 R15: ffff888098bec780 sctp_packet_pack net/sctp/output.c:487 [inline] sctp_packet_transmit+0x1026/0x2d70 net/sctp/output.c:605 sctp_outq_flush+0xc54/0x2dd0 net/sctp/outqueue.c:1187 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1787 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1179 [inline] sctp_do_sm+0x419/0x4a90 net/sctp/sm_sideeffect.c:1150 sctp_generate_heartbeat_event+0x1da/0x3f0 net/sctp/sm_sideeffect.c:391 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1279 expire_timers kernel/time/timer.c:1318 [inline] __run_timers kernel/time/timer.c:1636 [inline] __run_timers kernel/time/timer.c:1604 [inline] run_timer_softirq+0x52a/0x1390 kernel/time/timer.c:1649 __do_softirq+0x254/0x9bf kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x15b/0x1a0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:200 RSP: 0018:ffff88820f09fba0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff0fa2cd3 RBX: ffff88807d82a480 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88807d82acfc RBP: ffff8880aea2b540 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880aea2b540 R13: ffff8880a98501c0 R14: ffff888098fac000 R15: ffff88807d82a91c finish_lock_switch kernel/sched/sched.h:1346 [inline] finish_task_switch+0x178/0x620 kernel/sched/core.c:2675 context_switch kernel/sched/core.c:2811 [inline] __schedule+0x7c0/0x1ca0 kernel/sched/core.c:3384 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3611 retint_kernel+0x1b/0x2d RIP: 0010:should_resched arch/x86/include/asm/preempt.h:99 [inline] RIP: 0010:__local_bh_enable_ip+0xc4/0x190 kernel/softirq.c:192 RSP: 0018:ffff88820f09fd90 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff0fa2cd3 RBX: 0000000000000200 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff88807d82acfc RBP: ffffffff856d1d14 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804c0e8800 R13: 00000000000000e6 R14: ffff88808242ea80 R15: ffffffff874087c0 local_bh_enable include/linux/bottom_half.h:32 [inline] unix_create1+0x449/0x4f0 net/unix/af_unix.c:808 unix_create+0xdd/0x1c0 net/unix/af_unix.c:841 __sock_create+0x2f2/0x620 net/socket.c:1275 sock_create net/socket.c:1315 [inline] SYSC_socketpair net/socket.c:1391 [inline] SyS_socketpair+0x159/0x480 net/socket.c:1366 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c849 RSP: 002b:00007fd331fd9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000035 RAX: ffffffffffffffda RBX: 00007fd331fda6d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000ba1 R14: 00000000004cdd0a R15: 000000000076bf0c rcu_preempt kthread starved for 10495 jiffies! g172029 c172028 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=1 rcu_preempt R running task 29920 8 2 0x80000000 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_timeout+0x43c/0xe40 kernel/time/timer.c:1746 rcu_gp_kthread+0xb8e/0x1ce0 kernel/rcu/tree.c:2255 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 INFO: rcu_sched detected stalls on CPUs/tasks: 1-...: (1 GPs behind) idle=04e/140000000000002/0 softirq=872271/872291 fqs=10 (detected by 0, t=10510 jiffies, g=65026, c=65025, q=1) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16245 Comm: syz-executor.3 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88805a086600 task.stack: ffff88820f320000 RIP: 0010:__rcu_read_unlock+0x83/0x160 kernel/rcu/update.c:271 RSP: 0000:ffff8880aeb06ca0 EFLAGS: 00000003 RAX: 0000000000000003 RBX: 1ffff11015d60d96 RCX: 1ffffffff0f417ad RDX: 0000000000000000 RSI: ffffffff86e45700 RDI: ffff8880aeb2394c RBP: ffff88805a086980 R08: 0000000000000001 R09: 0000000000000008 R10: ffffed1041e2034e R11: ffff88820f101a77 R12: ffff8880482a7400 R13: ffff8880aeb06e00 R14: ffff8880aeb071c8 R15: ffff8880aeb06cd0 FS: 00007fbe5cf42700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbe5ceffdb8 CR3: 00000002145b0000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:684 [inline] __perf_event_output kernel/events/core.c:6280 [inline] perf_event_output_backward+0x126/0x1f0 kernel/events/core.c:6296 __perf_event_overflow+0x113/0x310 kernel/events/core.c:7526 perf_swevent_hrtimer+0x220/0x350 kernel/events/core.c:8736 __run_hrtimer kernel/time/hrtimer.c:1223 [inline] __hrtimer_run_queues+0x25c/0xbb0 kernel/time/hrtimer.c:1287 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1100 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:run_filter+0x86/0x280 net/packet/af_packet.c:2039 RSP: 0000:ffff8880aeb07270 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff0f417ad RDX: 1ffff110113246c8 RSI: ffffffff86e45700 RDI: ffff888089923640 RBP: ffff8880a6d92000 R08: 0000000000000000 R09: 0000000000022012 R10: ffff88805a086f70 R11: ffff88805a086600 R12: 0000000000000062 R13: ffff8880262ed2b6 R14: ffff8880a6d92090 R15: 0000000000000062 packet_rcv+0x21f/0x12f0 net/packet/af_packet.c:2114 deliver_skb net/core/dev.c:1881 [inline] dev_queue_xmit_nit+0x1ea/0x930 net/core/dev.c:1937 xmit_one net/core/dev.c:3005 [inline] dev_hard_start_xmit+0xa8/0x890 net/core/dev.c:3025 __dev_queue_xmit+0x1d91/0x25c0 net/core/dev.c:3525 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0xde8/0x14a0 net/ipv4/ip_output.c:229 ip_finish_output+0x556/0xc30 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1c2/0x520 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:462 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124 ip_queue_xmit+0x7b2/0x1b20 net/ipv4/ip_output.c:504 sctp_packet_transmit+0x17f7/0x2d70 net/sctp/output.c:637 sctp_outq_flush+0xc54/0x2dd0 net/sctp/outqueue.c:1187 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1787 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1179 [inline] sctp_do_sm+0x419/0x4a90 net/sctp/sm_sideeffect.c:1150 sctp_generate_heartbeat_event+0x1da/0x3f0 net/sctp/sm_sideeffect.c:391 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1279 expire_timers kernel/time/timer.c:1318 [inline] __run_timers kernel/time/timer.c:1636 [inline] __run_timers kernel/time/timer.c:1604 [inline] run_timer_softirq+0x52a/0x1390 kernel/time/timer.c:1649 __do_softirq+0x254/0x9bf kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x15b/0x1a0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:3087 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:3082 [inline] RIP: 0010:preempt_count_add+0xb3/0x170 kernel/sched/core.c:3110 RSP: 0000:ffff88820f327ec8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffffffff863f5ea6 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff863f5ea6 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffed100b410cc0 R13: ffff88820f327f58 R14: ffff88805a086600 R15: ffffffff87d16698 schedule+0x86/0x1b0 kernel/sched/core.c:3427 exit_to_usermode_loop+0x123/0x220 arch/x86/entry/common.c:153 prepare_exit_to_usermode+0x1af/0x210 arch/x86/entry/common.c:199 retint_user+0x8/0x18 RIP: 0033:0x40b10f RSP: 002b:00007fbe5cf41d00 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: 000000000076bf08 RCX: 00000000004c9458 RDX: 00000000002eedb8 RSI: 0000000000000143 RDI: 000000000076bf0c RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000076bf0c R13: 00007ffe012d1c6f R14: 00007fbe5cf429c0 R15: 000000000076bf0c Code: 0f b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b4 00 00 00 8b 83 80 03 00 00 3d 01 00 00 c0 0f 83 91 00 00 00 5b <5d> c3 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 0f b6 rcu_sched kthread starved for 10226 jiffies! g65026 c65025 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0 rcu_sched R running task 29984 9 2 0x80000000 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_timeout+0x43c/0xe40 kernel/time/timer.c:1746 rcu_gp_kthread+0xb8e/0x1ce0 kernel/rcu/tree.c:2255 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404