rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10475 ticks this GP) idle=be2/1/0x4000000000000000 softirq=130183/130186 fqs=0 (t=10500 jiffies g=251149 q=44) rcu: rcu_preempt kthread starved for 10500 jiffies! g251149 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:28880 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 31526 Comm: syz-executor.0 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:302 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5d0/0xb40 kernel/locking/qspinlock.c:473 Code: 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 03 00 00 41 8b 57 08 85 d2 74 b6 41 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000206 RAX: 0000000000000927 RBX: ffff8880b9c527c0 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed10173aa4f9 RDI: ffff8880b9d527d4 RBP: ffff8880b9d527d4 R08: 0000000000000001 R09: ffff8880b9d527d4 R10: ffffed10173aa4fa R11: 0000000000000080 R12: ffffed101738a4fa R13: ffff8880b9c527d4 R14: dffffc0000000000 R15: ffff8880b9d527c0 FS: 00007feb31814700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d52c000 CR3: 0000000089dd4000 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+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:arch_irq_work_raise+0x39/0x110 arch/x86/kernel/irq_work.c:28 Code: dd 4f 92 00 48 c7 c0 00 80 6c 8d 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 9d 00 00 00 48 8b 05 37 88 42 0c c4 02 0f 84 8a 00 00 00 48 c7 c3 40 da 31 8b 48 b8 00 00 00 00 RSP: 0018:ffffc90001bdf8c8 EFLAGS: 00000246 RAX: 2c1008001f8bfbff RBX: 0000000000000201 RCX: ffffffff8129f7a3 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8d6c8000 RBP: ffffffff8babeda0 R08: 0000000000000000 R09: ffffffff8d6c8007 R10: fffffbfff1ad9000 R11: 0000000000000000 R12: 0000000000000001 R13: 00000000000000e8 R14: 00000000ffffffff R15: 0000000000000000 __irq_work_queue_local kernel/irq_work.c:59 [inline] __irq_work_queue_local+0x133/0x190 kernel/irq_work.c:53 irq_work_queue kernel/irq_work.c:75 [inline] irq_work_queue+0x47/0x80 kernel/irq_work.c:67 __kfence_alloc+0x12d/0xca0 mm/kfence/core.c:769 kfence_alloc include/linux/kfence.h:123 [inline] slab_alloc_node mm/slub.c:2881 [inline] kmem_cache_alloc_node+0x220/0x3e0 mm/slub.c:2992 __alloc_skb+0x20b/0x340 net/core/skbuff.c:414 alloc_skb include/linux/skbuff.h:1116 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1186 [inline] netlink_sendmsg+0x967/0xdb0 net/netlink/af_netlink.c:1904 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2403 ___sys_sendmsg+0xf3/0x170 net/socket.c:2457 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2486 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:00007feb31814188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc0e635f6f R14: 00007feb31814300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 31524 Comm: syz-executor.1 Not tainted 5.14.0-rc5-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:1785 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: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: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffffffff18efa7c RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffffff8c77d3e2 RBP: ffffffff8c77d3e0 R08: 0000000000000001 R09: ffffffff8c77d3e3 R10: fffffbfff18efa7c R11: 0000000000000080 R12: 0000000000007b96 R13: fffffbfff18efa7c R14: 0000000000000001 R15: ffff8880b9c527c0 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:finish_task_switch.isra.0+0x23c/0xa50 kernel/sched/core.c:4555 Code: 8b 3a 4c 89 e7 48 c7 02 00 00 00 00 ff d1 4d 85 ff 75 bf 4c 89 e7 e8 b3 85 e0 07 e8 2e e6 2b 00 fb 65 48 8b 1c 25 00 f0 01 00 <48> 8d bb 10 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc90001bbf168 EFLAGS: 00000206 RAX: 000000000000a61b RBX: ffff88801d9d8000 RCX: 1ffffffff1fa4c8a RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90001bbf1a8 R08: 0000000000000001 R09: ffffffff8fced977 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880b9c519c0 R13: ffff888081b59c40 R14: 0000000000000000 R15: ffff8880b9c519d8 context_switch kernel/sched/core.c:4684 [inline] __schedule+0x942/0x26f0 kernel/sched/core.c:5938 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6098 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 percpu_counter_add_batch+0x14f/0x180 lib/percpu_counter.c:97 percpu_counter_add include/linux/percpu_counter.h:56 [inline] percpu_counter_sub include/linux/percpu_counter.h:193 [inline] ext4_mb_mark_diskspace_used+0x8cc/0x1230 fs/ext4/mballoc.c:3791 ext4_mb_new_blocks+0xd30/0x5230 fs/ext4/mballoc.c:5533 ext4_ext_map_blocks+0x1fa3/0x6070 fs/ext4/extents.c:4245 ext4_map_blocks+0x653/0x17d0 fs/ext4/inode.c:638 ext4_alloc_file_blocks.isra.0+0x2c1/0xae0 fs/ext4/extents.c:4432 ext4_fallocate+0x45e/0x3ff0 fs/ext4/extents.c:4712 vfs_fallocate+0x48d/0xd80 fs/open.c:311 ioctl_preallocate+0x18e/0x200 fs/ioctl.c:497 file_ioctl fs/ioctl.c:537 [inline] do_vfs_ioctl+0x1144/0x15d0 fs/ioctl.c:1048 __do_sys_ioctl fs/ioctl.c:1067 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x108/0x200 fs/ioctl.c:1055 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:00007f1d22c66188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000040 RSI: 000000004030582a RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffec8ccd0af R14: 00007f1d22c66300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: e9 83 e1 07 38 jmpq 0x3807e188 5: ca 7f 08 lret $0x87f 8: 84 d2 test %dl,%dl a: 0f 85 ed 03 00 00 jne 0x3fd 10: 0f b6 53 14 movzbl 0x14(%rbx),%edx 14: 84 d2 test %dl,%dl 16: 0f 85 9e 00 00 00 jne 0xba 1c: f3 90 pause 1e: 83 e8 01 sub $0x1,%eax 21: 0f 84 93 00 00 00 je 0xba 27: 0f b6 16 movzbl (%rsi),%edx 2a: 84 d2 test %dl,%dl <-- trapping instruction 2c: 74 09 je 0x37 2e: 80 fa 03 cmp $0x3,%dl 31: 0f 8e 96 03 00 00 jle 0x3cd 37: 41 8b 57 08 mov 0x8(%r15),%edx 3b: 85 d2 test %edx,%edx 3d: 74 b6 je 0xfffffff5 3f: 41 rex.B