INFO: rcu_sched detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=14340, c=14339, q=0) All QSes seen, last rcu_sched kthread activity 10502 (4295034590-4295024088), jiffies_till_next_fqs=1, root ->qsmask 0x0 syz-executor.2 R running task 29056 8084 6370 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:sctp_transport_reset_hb_timer+0x10c/0x1d0 net/sctp/transport.c:213 RSP: 0018:ffff8880aea07a80 EFLAGS: 00000283 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: 00000000000000b1 RCX: 0000000000000000 RDX: 1ffff11011f2a1ef RSI: 00000001000106dc RDI: ffff88808f950f78 RBP: ffff88808f950dc0 R08: ffff888064b6d0c4 R09: ffffed100c96da1f R10: ffffed100c96da1e R11: ffff888064b6d0f3 R12: 00000001000112ec R13: ffff8880aea07c48 R14: dffffc0000000000 R15: ffff888090ce8240 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1653 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1179 [inline] sctp_do_sm+0x2d8d/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:arch_local_save_flags arch/x86/include/asm/paravirt.h:774 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:796 [inline] RIP: 0010:lock_is_held_type+0x82/0x210 kernel/locking/lockdep.c:4032 RSP: 0018:ffff888218b379c0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000286 RBX: ffff88805d672400 RCX: 1ffffffff10279b4 RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: ffff88805d672c84 RBP: ffffffff87d842e0 R08: 000000cb7a2f6245 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 000000000002b540 R14: ffff88805d672400 R15: ffff8880aea2b540 lock_is_held include/linux/lockdep.h:437 [inline] schedule_debug kernel/sched/core.c:3206 [inline] __schedule+0xde1/0x1ca0 kernel/sched/core.c:3308 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3611 retint_kernel+0x1b/0x2d RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:hb_waiters_pending kernel/futex.c:389 [inline] RIP: 0010:futex_wake+0xe7/0x3d0 kernel/futex.c:1691 RSP: 0018:ffff888218b37b70 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff10 RAX: 1ffff9200018dd60 RBX: ffffc90000c6eb00 RCX: 000000001f90bb9f RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000200 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 1ffff11043166ff9 R11: 0000000000000000 R12: 000000000078bf0c R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 do_futex+0x264/0x1850 kernel/futex.c:3924 SYSC_futex kernel/futex.c:3980 [inline] SyS_futex+0x1e8/0x2c0 kernel/futex.c:3948 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c829 RSP: 002b:00007f2816565cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 000000000078bf08 RCX: 000000000045c829 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000078bf0c RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007ffe5f97911f R14: 00007f28165669c0 R15: 000000000078bf0c rcu_sched kthread starved for 10502 jiffies! g14340 c14339 f0x2 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=1 rcu_sched R running task 29920 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 INFO: rcu_preempt detected stalls on CPUs/tasks: 1-...: (1 GPs behind) idle=efe/140000000000001/0 softirq=101499/101502 fqs=2 (detected by 0, t=10556 jiffies, g=28497, c=28496, q=824) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8082 Comm: syz-executor.4 Not tainted 4.14.177-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809b0c8000 task.stack: ffff888218c78000 RIP: 0010:debug_lockdep_rcu_enabled kernel/rcu/update.c:299 [inline] RIP: 0010:rcu_read_lock_sched_held+0x23/0x130 kernel/rcu/update.c:109 RSP: 0018:ffff8880aeb07ba0 EFLAGS: 00000002 RAX: 0000000000000007 RBX: ffffffff87a0d1a0 RCX: 1ffffffff1124508 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88809b0c8884 RBP: ffff888218c7f508 R08: 000000e40c2dd341 R09: ffff88821fff7048 R10: ffff88821fff7050 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f5739479700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000078c000 CR3: 000000008f9a1000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_local_timer_entry arch/x86/include/asm/trace/irq_vectors.h:56 [inline] smp_apic_timer_interrupt+0x42d/0x5e0 arch/x86/kernel/apic/apic.c:1099 apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:411 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x264/0x950 kernel/locking/qspinlock.c:465 RSP: 0018:ffff8880aeb07c90 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000001 RBX: ffff8880aeb2c0c0 RCX: ffffed100d2c9811 RDX: 000000000000125a RSI: 0000000000000001 RDI: 0000000000000004 RBP: ffff88806964c088 R08: 0000000000000000 R09: ffffffff8a07f0b0 R10: ffff88809b0c88b0 R11: ffff88809b0c8000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88806964c089 R15: ffffed1015d65820 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:669 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:52 [inline] queued_spin_lock include/asm-generic/qspinlock.h:90 [inline] do_raw_spin_lock+0x189/0x230 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:317 [inline] sctp_generate_heartbeat_event+0x96/0x3f0 net/sctp/sm_sideeffect.c:371 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:__sanitizer_cov_trace_pc+0x23/0x50 kernel/kcov.c:68 RSP: 0018:ffff888218c7f5b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: ffff88809b0c8000 RBX: dffffc0000000000 RCX: ffffc90008a6c000 RDX: 0000000000000001 RSI: ffffffff86e45640 RDI: ffffffff86e45680 RBP: ffffffff86e45680 R08: 0000000000000001 R09: ffff888218c7fb80 R10: ffff888218c7f81d R11: 0000000000058071 R12: 0000000000000001 R13: ffffffff86e45640 R14: ffffffff81004007 R15: 000000000002b540 check_preemption_disabled+0x15/0x240 lib/smp_processor_id.c:14 __schedule+0x61/0x1ca0 kernel/sched/core.c:3304 preempt_schedule_common+0x4a/0xc0 kernel/sched/core.c:3508 ___preempt_schedule+0x16/0x18 unwind_next_frame+0xbdf/0x17a0 arch/x86/kernel/unwind_orc.c:498 __save_stack_trace+0x6b/0xd0 arch/x86/kernel/stacktrace.c:44 save_stack+0x32/0xa0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc mm/kasan/kasan.c:551 [inline] kasan_kmalloc+0xbf/0xe0 mm/kasan/kasan.c:529 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc mm/slab.c:3390 [inline] __do_kmalloc mm/slab.c:3718 [inline] __kmalloc_track_caller+0x13d/0x7b0 mm/slab.c:3735 kmemdup+0x23/0x50 mm/util.c:118 kmemdup include/linux/string.h:420 [inline] selinux_cred_prepare+0x44/0xa0 security/selinux/hooks.c:3849 security_prepare_creds+0x76/0xb0 security/security.c:1008 prepare_creds+0x2cc/0x380 kernel/cred.c:282 copy_creds+0x72/0x4d0 kernel/cred.c:348 copy_process.part.0+0x868/0x6a50 kernel/fork.c:1644 copy_process kernel/fork.c:1586 [inline] _do_fork+0x180/0xc80 kernel/fork.c:2070 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c829 RSP: 002b:00007f5739478c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00000000004da840 RCX: 000000000045c829 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000030020100 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000076 R14: 00000000004c311e R15: 00007f57394796d4 Code: 0f 1f 84 00 00 00 00 00 48 c7 c0 44 28 92 88 53 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 <38> d0 7c 08 84 d2 0f 85 ac 00 00 00 8b 0d df 31 47 07 85 c9 74 rcu_preempt kthread starved for 10550 jiffies! g28497 c28496 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0 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