rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): (detected by 1, t=10503 jiffies, g=447045, q=503) rcu: All QSes seen, last rcu_preempt kthread activity 6168 (4295182144-4295175976), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 6169 jiffies! g447045 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21625 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:error_return+0x0/0x20 arch/x86/entry/entry_64.S:1053 Code: e8 eb cc 48 89 8c 24 88 00 00 00 0f 01 f8 0f ae e8 48 89 e7 e8 01 cd df ff 48 89 c4 eb 9e 66 66 2e 0f 1f 84 00 00 00 00 00 90 84 24 88 00 00 00 03 0f 84 eb fd ff ff e9 ad fd ff ff 66 66 2e RSP: 0018:ffffc90000007988 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1ad67c1 RDX: 0000000000000000 RSI: ffffffff817b9791 RDI: ffffffff89400c02 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9778 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f663d0d7700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014a53ad CR3: 000000002f249000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:301 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5c4/0xb40 kernel/locking/qspinlock.c:473 Code: 32 84 c0 75 23 41 0f b6 14 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 <83> e8 01 0f 84 93 00 00 00 0f b6 16 84 d2 74 09 80 fa 03 0f 8e 96 RSP: 0018:ffffc90000007a30 EFLAGS: 00000206 RAX: 000000000000654d RBX: ffff8880b9d52840 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed101738a509 RDI: ffff8880b9c52854 RBP: ffff8880b9c52854 R08: 0000000000000001 R09: ffff8880b9c52854 R10: ffffed101738a50a R11: 0000000000000080 R12: ffffed10173aa50a R13: ffff8880b9d52854 R14: dffffc0000000000 R15: ffff8880b9c52840 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:schedule_debug kernel/sched/core.c:5236 [inline] RIP: 0010:__schedule+0x129/0x2710 kernel/sched/core.c:5831 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 11 1f 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 7d 20 4c 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 e5 1e 00 00 49 81 3f 9d 6e ac 57 0f 85 b1 25 00 00 49 8d 45 RSP: 0018:ffffc90003bceaa0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffff92000779d5c RDX: 1ffff92000779000 RSI: 0000000000000001 RDI: ffff888016238020 RBP: ffffc90003bceb68 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9778 R11: 0000000000000001 R12: ffff8880b9c51a40 R13: ffff888016238000 R14: 0000000000051a40 R15: ffffc90003bc8000 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6328 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:unwind_done arch/x86/include/asm/unwind.h:46 [inline] RIP: 0010:__unwind_start+0x51e/0x800 arch/x86/kernel/unwind_orc.c:696 Code: c1 e8 03 48 c1 ee 03 48 bd 00 00 00 00 00 fc ff df 49 89 c5 49 89 f4 49 01 ed 49 01 ec eb 2a 4c 89 ff e8 05 de ff ff 4c 89 f8 <48> c1 e8 03 0f b6 04 28 84 c0 74 08 3c 03 0f 8e 2d 01 00 00 41 8b RSP: 0018:ffffc90003bcec40 EFLAGS: 00000282 RAX: ffffc90003bcec90 RBX: ffffc90003bced18 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffc90003bced18 RDI: 0000000000000001 RBP: dffffc0000000000 R08: ffffffff8de3657c R09: 0000000000000001 R10: fffff52000779d9d R11: 0000000000086087 R12: fffff52000779d94 R13: fffff52000779d93 R14: ffffc90003bcecc8 R15: ffffc90003bcec90 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x84/0xa0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2970 [inline] slab_alloc mm/slub.c:2978 [inline] kmem_cache_alloc+0x1d4/0x4a0 mm/slub.c:2983 alloc_inode+0x161/0x230 fs/inode.c:235 new_inode_pseudo fs/inode.c:934 [inline] new_inode+0x27/0x2f0 fs/inode.c:963 debugfs_get_inode+0x1a/0x130 fs/debugfs/inode.c:72 __debugfs_create_file+0x11a/0x4e0 fs/debugfs/inode.c:407 cfg80211_debugfs_rdev_add+0x7a/0xf0 net/wireless/debugfs.c:106 wiphy_register+0x1fe9/0x29b0 net/wireless/core.c:938 ieee80211_register_hw+0x1f3c/0x3ef0 net/mac80211/main.c:1300 mac80211_hwsim_new_radio+0x2106/0x4940 drivers/net/wireless/mac80211_hwsim.c:3358 hwsim_new_radio_nl+0x9bc/0x1080 drivers/net/wireless/mac80211_hwsim.c:3924 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x85b/0xda0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:702 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:722 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2385 ___sys_sendmsg+0xf3/0x170 net/socket.c:2439 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2468 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:00007f663d0d7188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc0d8c887f R14: 00007f663d0d7300 R15: 0000000000022000