rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10465 ticks this GP) idle=04a/1/0x4000000000000000 softirq=404829/404835 fqs=5 (t=10501 jiffies g=677525 q=2223) rcu: rcu_preempt kthread starved for 10461 jiffies! g677525 f0x0 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:29232 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: 22685 Comm: syz-executor.1 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3c9/0xb40 kernel/locking/qspinlock.c:508 Code: 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 85 91 05 00 00 0f b6 45 00 84 c0 75 db be 02 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff18ee238 RDX: 0000000000000001 RSI: ffffffff817b97b1 RDI: ffffffff81331571 RBP: ffffffff8c7711c0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9779 R11: 0000000000000080 R12: 0000000000007863 R13: fffffbfff18ee238 R14: 0000000000000001 R15: ffff8880b9d52840 FS: 00007fe55fb11700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe55faf0718 CR3: 000000005e239000 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:__schedule+0x0/0x2710 kernel/sched/core.c:5819 Code: 5b 5d 41 5c c3 e8 40 f1 99 f8 eb d9 e8 39 f1 99 f8 e9 4b ff ff ff e8 cf f0 99 f8 e9 02 ff ff ff e8 e5 f0 99 f8 e9 6c ff ff ff <55> 48 89 e5 41 57 48 8d 85 78 ff ff ff 41 56 49 c7 c6 40 1a 05 00 RSP: 0018:ffffc90001c7f820 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffff888078f68000 RCX: 1ffffffff1ad6449 RDX: 0000000000000000 RSI: ffffffff817b97b1 RDI: 0000000000000001 RBP: ffffed100f1ed000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b9798 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 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:do_check_main kernel/bpf/verifier.c:12915 [inline] RIP: 0010:bpf_check+0x8b89/0xbcb0 kernel/bpf/verifier.c:13480 Code: 00 00 00 fc ff df 41 0f b7 9f 88 0a 00 00 48 c1 ea 03 80 3c 02 00 0f 85 15 1e 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 67 08 <49> 8d 7c 24 38 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 87 1d 00 00 RSP: 0018:ffffc90001c7f8f0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b89f000 RDX: 1ffff11009fc7001 RSI: ffffffff818836fc RDI: ffff88804fe38a88 RBP: ffffc90001c7fb50 R08: 0000000000000000 R09: ffffffff8d6aef17 R10: ffffffff818836ef R11: 0000000000086087 R12: ffffc90000e98000 R13: ffff8880372abbc0 R14: ffff88803467a000 R15: ffff88804fe38000 bpf_prog_load+0xe5c/0x21f0 kernel/bpf/syscall.c:2274 __sys_bpf+0x65a/0x5390 kernel/bpf/syscall.c:4469 __do_sys_bpf kernel/bpf/syscall.c:4573 [inline] __se_sys_bpf kernel/bpf/syscall.c:4571 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4571 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:00007fe55fb11188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 0000000000000070 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffdf9add08f R14: 00007fe55fb11300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 22698 Comm: syz-executor.3 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:96 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:341 print_cpu_stall kernel/rcu/tree_stall.h:624 [inline] check_cpu_stall kernel/rcu/tree_stall.h:699 [inline] rcu_pending kernel/rcu/tree.c:3911 [inline] rcu_sched_clock_irq.cold+0x9f/0x747 kernel/rcu/tree.c:2649 update_process_times+0x16d/0x200 kernel/time/timer.c:1796 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/0xe40 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+0x78f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1527 Code: bb ac 3c 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 36 09 00 00 44 0f b6 bb ac 3c 00 00 <31> ff 44 89 fe e8 77 a1 48 fc 45 84 ff 0f 84 77 ff ff ff e8 29 9b RSP: 0018:ffffc90000007ba0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88802b463260 RCX: 0000000000000100 RDX: 0000000000000004 RSI: ffffffff852ce6a3 RDI: ffff88802b466f0c RBP: dffffc0000000000 R08: 0000000000000009 R09: 0000000000000000 R10: ffffffff852ce6d9 R11: 0000000000000000 R12: ffff88808efe4b40 R13: ffff88806cfd3490 R14: ffff88806cfd3260 R15: 0000000000000000 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:ext4_do_update_inode fs/ext4/inode.c:5095 [inline] RIP: 0010:ext4_mark_iloc_dirty+0x1271/0x38c0 fs/ext4/inode.c:5724 Code: d2 0f 85 47 1d 00 00 45 8b 65 64 31 ff 41 83 e4 02 44 89 e6 e8 00 d9 65 ff 45 85 e4 c7 44 24 50 01 00 00 00 0f 85 b2 0e 00 00 aa d1 65 ff 48 8d bb d0 03 00 00 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc900019ff458 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff888068f12b18 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88805878b880 RDI: 0000000000000003 RBP: ffff888036d31900 R08: 000000007fffffff R09: 0000000000008000 R10: ffffffff820faf9e R11: 00000000ffff8000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900019ff578 __ext4_mark_inode_dirty+0x222/0x8d0 fs/ext4/inode.c:5918 __ext4_new_inode+0x4c00/0x5c10 fs/ext4/ialloc.c:1330 ext4_create+0x2d6/0x4d0 fs/ext4/namei.c:2738 lookup_open.isra.0+0xfee/0x13d0 fs/namei.c:3215 open_last_lookups fs/namei.c:3285 [inline] path_openat+0x9b4/0x27e0 fs/namei.c:3491 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1195 do_sys_open fs/open.c:1211 [inline] __do_sys_openat fs/open.c:1227 [inline] __se_sys_openat fs/open.c:1222 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1222 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:00007f3276a36188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 00000000000026e1 RSI: 00000000200002c0 RDI: ffffffffffffff9c RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff141c8aaf R14: 00007f3276a36300 R15: 0000000000022000