rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10499 ticks this GP) idle=7e2/1/0x4000000000000000 softirq=223332/223350 fqs=0 (t=10500 jiffies g=400985 q=105) rcu: rcu_preempt kthread starved for 10500 jiffies! g400985 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:28672 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1878 rcu_gp_fqs_loop kernel/rcu/tree.c:1996 [inline] rcu_gp_kthread+0xd34/0x1980 kernel/rcu/tree.c:2169 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: 11516 Comm: syz-executor.5 Tainted: G W 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3ba/0xb40 kernel/locking/qspinlock.c:508 Code: 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 f3 90 <41> 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f RSP: 0018:ffffc90000007a30 EFLAGS: 00000206 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff18ef508 RDX: 0000000000000001 RSI: ffffffff817bab31 RDI: ffffffff81330591 RBP: ffffffff8c77a840 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817baaf9 R11: 0000000000000080 R12: 000000000000430e R13: fffffbfff18ef508 R14: 0000000000000001 R15: ffff8880b9c52880 FS: 00007f20a1fd2700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557906e1c768 CR3: 0000000085c1e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 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/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 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+0x35/0x26f0 kernel/sched/core.c:5819 Code: ff ff 41 56 49 c7 c6 80 1a 05 00 41 55 48 c1 e8 03 41 54 48 89 c1 4d 89 f4 53 89 fb 48 81 ec a0 00 00 00 48 89 85 38 ff ff ff <48> b8 00 00 00 00 00 fc ff df 48 01 c8 48 c7 45 80 e3 a1 12 8b 48 RSP: 0018:ffffc9000184edd0 EFLAGS: 00000282 RAX: 1ffff92000309dc2 RBX: 0000000000000001 RCX: 1ffff92000309dc2 RDX: 0000000000000000 RSI: ffffffff817bab31 RDI: 0000000000000001 RBP: ffffc9000184ee98 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817bab18 R11: 0000000000000001 R12: 0000000000051a80 R13: 0000000000000000 R14: 0000000000051a80 R15: 0000000000000000 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:cfg80211_rdev_by_wiphy_idx+0xae/0x140 net/wireless/core.c:64 Code: 00 00 48 89 f8 48 c1 e8 03 0f b6 14 28 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 81 00 00 00 45 8b ac 24 8c 00 00 00 <89> de 44 89 ef e8 48 7a 17 f9 41 39 dd 75 90 e8 0e 72 17 f9 4c 89 RSP: 0018:ffffc9000184ef78 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000000 RCX: ffffc90014805000 RDX: 0000000000000000 RSI: ffffffff885e156e RDI: ffff8880688e008c RBP: dffffc0000000000 R08: 000000000000037b R09: ffffffff8d0c9347 R10: ffffffff885e15a8 R11: 0000000000000000 R12: ffff8880688e0000 R13: 000000000000037a R14: ffff88807c453594 R15: 0000000000251c00 wiphy_idx_to_wiphy+0x2c/0x90 net/wireless/core.c:86 handle_channel net/wireless/reg.c:1945 [inline] handle_band net/wireless/reg.c:2033 [inline] wiphy_update_regulatory+0x441/0x29d0 net/wireless/reg.c:2460 wiphy_regulatory_register+0xa7/0x1c0 net/wireless/reg.c:4052 wiphy_register+0x1ffe/0x29b0 net/wireless/core.c:942 ieee80211_register_hw+0x1f3c/0x3ef0 net/mac80211/main.c:1300 mac80211_hwsim_new_radio+0x20ce/0x4990 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+0x86d/0xdb0 net/netlink/af_netlink.c:1929 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:0x4665e9 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:00007f20a1fd2188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff6ffd140f R14: 00007f20a1fd2300 R15: 0000000000022000 NMI backtrace for cpu 1 CPU: 1 PID: 11542 Comm: syz-executor.1 Tainted: G W 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:342 print_cpu_stall kernel/rcu/tree_stall.h:625 [inline] check_cpu_stall kernel/rcu/tree_stall.h:700 [inline] rcu_pending kernel/rcu/tree.c:3922 [inline] rcu_sched_clock_irq.cold+0x9f/0x747 kernel/rcu/tree.c:2641 update_process_times+0x16d/0x200 kernel/time/timer.c:1782 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1421 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x734/0x1330 drivers/net/wireless/mac80211_hwsim.c:1517 Code: 43 fc 0f b6 44 24 08 84 c0 0f 85 a8 06 00 00 e8 b2 b1 43 fc e8 ad b1 43 fc 48 89 d8 48 c1 e8 03 80 3c 28 00 0f 85 93 09 00 00 <48> 8b 1b 48 81 fb 00 a8 77 8c 0f 84 f7 04 00 00 e8 87 b1 43 fc 49 RSP: 0018:ffffc90000dc0ba0 EFLAGS: 00000246 RAX: 1ffff1100fc7864c RBX: ffff88807e3c3260 RCX: 0000000000000100 RDX: ffff888086ecb880 RSI: ffffffff8531d613 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000000000006 R09: 0000000000000000 R10: ffffffff8531d689 R11: 0000000000000000 R12: ffff888098d0e640 R13: ffff88803d17b490 R14: ffff88803d17b260 R15: 0000000000000000 mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1784 mac80211_hwsim_beacon_tx+0x49b/0x930 drivers/net/wireless/mac80211_hwsim.c:1838 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x70/0x180 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/0xe50 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9c2 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:debug_lockdep_rcu_enabled+0x6/0x30 kernel/rcu/update.c:280 Code: 0f 1f 40 00 0f 1f 44 00 00 65 81 05 80 59 d9 76 00 00 00 f0 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 8b 05 f6 9a 42 04 <85> c0 74 21 8b 05 0c cd 42 04 85 c0 74 17 65 48 8b 04 25 00 f0 01 RSP: 0018:ffffc90001bcf598 EFLAGS: 00000286 RAX: 0000000000000002 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 1ffff92000379000 RSI: 00000000ffffffff RDI: ffffffff8b97b840 RBP: ffffc90001bcf668 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817bab18 R11: 0000000000000001 R12: ffff8880b9d51a80 R13: ffff888086ecb880 R14: 0000000000051a80 R15: ffffc90001bc8000 schedule_debug kernel/sched/core.c:5256 [inline] __schedule+0x134f/0x26f0 kernel/sched/core.c:5831 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:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:197 Code: 81 e1 00 01 00 00 65 48 8b 14 25 00 f0 01 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 34 15 00 00 85 c0 74 2b 8b 82 10 15 00 00 <83> f8 02 75 20 48 8b 8a 18 15 00 00 8b 92 14 15 00 00 48 8b 01 48 RSP: 0018:ffffc90001bcf748 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff8881419b6880 RCX: 0000000000000000 RDX: ffff888086ecb880 RSI: ffffffff839d3f89 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 0000000084e86645 R09: 0000000000000000 R10: ffffffff839d3f7b R11: 0000000000000000 R12: ffffc90001bcf848 R13: ffff88801cb3ba10 R14: 0000000000000000 R15: 0000000000000000 tomoyo_check_acl+0xd9/0x450 security/tomoyo/domain.c:173 tomoyo_path_permission security/tomoyo/file.c:586 [inline] tomoyo_path_permission+0x1ff/0x3a0 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x30f/0x380 security/tomoyo/file.c:780 tomoyo_file_open security/tomoyo/tomoyo.c:311 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:306 security_file_open+0x52/0x4f0 security/security.c:1633 do_dentry_open+0x353/0x11d0 fs/open.c:813 do_open fs/namei.c:3374 [inline] path_openat+0x1c23/0x27f0 fs/namei.c:3507 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1231 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:0x4665e9 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:00007fa25775f188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000000007a05 RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001700 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffe6ce898df R14: 00007fa25775f300 R15: 0000000000022000