rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): (detected by 1, t=10502 jiffies, g=395781, q=62) rcu: All QSes seen, last rcu_preempt kthread activity 10498 (4295186447-4295175949), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10498 jiffies! g395781 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:28208 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 schedule_timeout+0x14a/0x250 kernel/time/timer.c:1892 rcu_gp_fqs_loop kernel/rcu/tree.c:2004 [inline] rcu_gp_kthread+0xd07/0x2300 kernel/rcu/tree.c:2177 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 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: 13029 Comm: syz-executor.4 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:177 [inline] RIP: 0010:kasan_check_range+0xdb/0x180 mm/kasan/generic.c:186 Code: 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 <80> 38 00 74 f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c RSP: 0018:ffffc900000069a0 EFLAGS: 00000086 RAX: ffffed1017384c70 RBX: ffffed1017384c71 RCX: ffffffff815adb31 RDX: ffffed1017384c71 RSI: 0000000000000004 RDI: ffff8880b9c26380 RBP: ffffed1017384c70 R08: 0000000000000001 R09: ffff8880b9c26383 R10: ffffed1017384c70 R11: 0000000000000000 R12: ffff8880b9c26388 R13: ffff8880b9c26390 R14: ffff8880b9c26380 R15: 0000000000000001 FS: 00007f1956b12700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32524000 CR3: 00000000535ce000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:705 [inline] queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] do_raw_spin_lock+0x111/0x2b0 kernel/locking/spinlock_debug.c:113 __run_hrtimer kernel/time/hrtimer.c:1541 [inline] __hrtimer_run_queues+0x243/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/0x540 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:632 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+0x3c4/0xb40 kernel/locking/qspinlock.c:508 Code: 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 85 91 05 00 00 0f b6 45 00 84 RSP: 0018:ffffc90000006ce0 EFLAGS: 00000202 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff19ac718 RDX: 0000000000000001 RSI: ffffffff817acfb1 RDI: ffffffff8132b571 RBP: ffffffff8cd638c0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817acf79 R11: 0000000000000050 R12: 000000000000390e R13: fffffbfff19ac718 R14: 0000000000000001 R15: ffff8880b9c36040 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:1514 mac80211_hwsim_tx+0x574/0x12e0 drivers/net/wireless/mac80211_hwsim.c:1667 drv_tx net/mac80211/driver-ops.h:35 [inline] ieee80211_tx_frags+0x552/0x970 net/mac80211/tx.c:1682 __ieee80211_tx+0x1ad/0x640 net/mac80211/tx.c:1738 ieee80211_tx+0x32f/0x430 net/mac80211/tx.c:1921 ieee80211_xmit+0x339/0x420 net/mac80211/tx.c:2014 __ieee80211_subif_start_xmit+0x7e0/0xcb0 net/mac80211/tx.c:4018 ieee80211_subif_start_xmit+0xee/0xee0 net/mac80211/tx.c:4154 __netdev_start_xmit include/linux/netdevice.h:4944 [inline] netdev_start_xmit include/linux/netdevice.h:4958 [inline] xmit_one net/core/dev.c:3654 [inline] dev_hard_start_xmit+0x1eb/0x920 net/core/dev.c:3670 sch_direct_xmit+0x2e1/0xbd0 net/sched/sch_generic.c:313 qdisc_restart net/sched/sch_generic.c:376 [inline] __qdisc_run+0x4ba/0x15f0 net/sched/sch_generic.c:384 qdisc_run include/net/pkt_sched.h:136 [inline] qdisc_run include/net/pkt_sched.h:128 [inline] __dev_xmit_skb net/core/dev.c:3856 [inline] __dev_queue_xmit+0x142e/0x2e30 net/core/dev.c:4213 neigh_resolve_output net/core/neighbour.c:1495 [inline] neigh_resolve_output+0x50e/0x820 net/core/neighbour.c:1475 neigh_output include/net/neighbour.h:510 [inline] ip6_finish_output2+0x6ee/0x1700 net/ipv6/ip6_output.c:117 __ip6_finish_output net/ipv6/ip6_output.c:182 [inline] __ip6_finish_output+0x4c1/0xe10 net/ipv6/ip6_output.c:161 ip6_finish_output+0x35/0x200 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:290 [inline] ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:215 dst_output include/net/dst.h:448 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ndisc_send_skb+0xa99/0x1750 net/ipv6/ndisc.c:508 ndisc_send_rs+0x12e/0x6f0 net/ipv6/ndisc.c:702 addrconf_rs_timer+0x3f2/0x820 net/ipv6/addrconf.c:3877 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1745 __run_timers kernel/time/timer.c:1726 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1758 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 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:632 RIP: 0010:preempt_schedule_irq+0x49/0x90 kernel/sched/core.c:5535 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 52 d6 36 f8 e8 7d ad 62 f8 fb bf 01 00 00 00 92 ce ff ff 9c 58 fa f6 c4 02 75 27 bf 01 00 00 00 e8 a0 c4 36 RSP: 0018:ffffc90001d2f418 EFLAGS: 00000206 RAX: 0000000000005069 RBX: ffff888061243880 RCX: 1ffffffff20531a2 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffed100c248710 R08: 0000000000000001 R09: ffffffff9025f93f R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 irqentry_exit+0x31/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:post_alloc_hook+0x170/0x1e0 mm/page_alloc.c:2353 Code: 5c 41 5d 41 5e 41 5f c3 41 f7 c6 00 01 00 00 75 c3 31 d2 44 89 e6 48 89 ef e8 8c 8e 09 00 eb d9 44 89 f2 44 89 e6 48 89 ef 5d <41> 5c 41 5d 41 5e 41 5f e9 d3 39 11 00 48 c7 c6 20 91 76 89 48 89 RSP: 0018:ffffc90001d2f4e0 EFLAGS: 00000257 RAX: ffff888061243880 RBX: ffff88813fffbcb8 RCX: 0000000000000000 RDX: 0000000000101cca RSI: 0000000000000000 RDI: ffffea00010f7540 RBP: 0000000000000004 R08: 0000000000000001 R09: ffffed10087baa00 R10: fffff9400021eeae R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000101cca R15: ffff88813fffb700 prep_new_page mm/page_alloc.c:2358 [inline] get_page_from_freelist+0x1033/0x2b60 mm/page_alloc.c:3994 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5200 alloc_pages+0x18c/0x2a0 mm/mempolicy.c:2272 __page_cache_alloc mm/filemap.c:1005 [inline] __page_cache_alloc+0x303/0x3a0 mm/filemap.c:990 pagecache_get_page+0x38f/0x18d0 mm/filemap.c:1885 grab_cache_page_write_begin+0x64/0x90 mm/filemap.c:3610 ext4_da_write_begin+0x35c/0x1160 fs/ext4/inode.c:2984 generic_perform_write+0x20a/0x4f0 mm/filemap.c:3660 ext4_buffered_write_iter+0x244/0x4d0 fs/ext4/file.c:269 ext4_dio_write_iter fs/ext4/file.c:587 [inline] ext4_file_write_iter+0xf00/0x14e0 fs/ext4/file.c:678 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x796/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 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:00007f1956b12188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000043408 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 00 Lost 1 message(s)!