rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=211845, q=814) rcu: All QSes seen, last rcu_preempt kthread activity 10501 (4295060728-4295050227), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g211845 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:R running task stack:28816 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x934/0x2710 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0xd1a/0x2300 kernel/rcu/tree.c:2177 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 28699 Comm: syz-executor.2 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:437 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3b8/0xb40 kernel/locking/qspinlock.c:508 Code: 48 89 eb c6 45 01 01 41 bc 00 80 00 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c 90 41 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff18ee238 RDX: 0000000000000001 RSI: ffffffff817b97b1 RDI: ffffffff81331571 RBP: ffffffff8c7711c0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9779 R11: 0000000000000080 R12: 0000000000005bfd R13: fffffbfff18ee238 R14: 0000000000000001 R15: ffff8880b9d52840 FS: 00007f86d2a4e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32821000 CR3: 000000008a560000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1516 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x4b7/0x920 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1861 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9bd kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:6328 Code: 55 53 65 48 8b 1c 25 00 f0 01 00 48 89 dd 48 c1 ed 03 48 01 c5 bf 01 00 00 00 e8 02 0e 2e f8 e8 6d 36 5a f8 fb bf 01 00 00 00 b2 cd ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 10 fd 2d RSP: 0018:ffffc900016aefe8 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffff888030343880 RCX: 1ffffffff1ad6449 RDX: 0000000000000000 RSI: ffffffff817b97b1 RDI: 0000000000000001 RBP: ffffed1006068710 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9798 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:427 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_schedule_thunk+0x0/0x18 arch/x86/entry/thunk_64.S:35 Code: ff d3 48 c7 44 24 50 00 00 00 00 eb e3 66 0f 1f 44 00 00 31 ed 65 48 8b 04 25 d0 ef 01 00 48 8d a0 58 ff ff ff e8 e9 88 45 00 <55> 48 89 e5 57 56 52 51 50 41 50 41 51 41 52 41 53 e8 43 15 21 08 RSP: 0018:ffffc900016af0b8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff920002d5e20 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffc900016af838 RDI: 0000000000000001 RBP: ffffc900016af868 R08: ffffffff8e6c6c54 R09: 0000000000000001 R10: fffff520002d5e3e R11: 0000000000086087 R12: ffffc900016a8000 R13: ffffc900016af1cd R14: ffffc900016af198 R15: ffffc900016af1cc unwind_next_frame+0xee1/0x1ce0 arch/x86/kernel/unwind_orc.c:611 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 save_stack+0x151/0x1e0 mm/page_owner.c:119 __set_page_owner+0x50/0x290 mm/page_owner.c:181 prep_new_page mm/page_alloc.c:2445 [inline] get_page_from_freelist+0xa72/0x2f80 mm/page_alloc.c:4178 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5386 alloc_pages+0x18c/0x2a0 mm/mempolicy.c:2272 __get_free_pages+0x8/0x40 mm/page_alloc.c:5423 genradix_alloc_node lib/generic-radix-tree.c:83 [inline] __genradix_ptr_alloc+0x162/0x3c0 lib/generic-radix-tree.c:122 __genradix_prealloc+0x56/0x90 lib/generic-radix-tree.c:223 sctp_stream_alloc_out net/sctp/stream.c:93 [inline] sctp_stream_init+0x392/0x5f0 net/sctp/stream.c:138 sctp_association_init net/sctp/associola.c:232 [inline] sctp_association_new+0x13e3/0x2250 net/sctp/associola.c:298 sctp_connect_new_asoc+0x1ac/0x770 net/sctp/socket.c:1088 sctp_sendmsg_new_asoc net/sctp/socket.c:1690 [inline] sctp_sendmsg+0x13bc/0x1d30 net/sctp/socket.c:2000 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:821 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:723 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2392 ___sys_sendmsg+0xf3/0x170 net/socket.c:2446 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2475 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:0x4665d9 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:00007f86d2a4e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 00000000000000fc RSI: 0000000020000600 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff7089115f R14: 00007f86d2a4e300 R15: 0000000000022000 softirq: huh, entered softirq 8 HRTIMER ffffffff81655b00 with preempt_count 00000102, exited with 00000103?