rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=94a/1/0x4000000000000000 softirq=97492/97493 fqs=12 (t=10501 jiffies g=120113 q=723) rcu: rcu_preempt kthread starved for 10471 jiffies! g120113 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:I 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0x27/0x1ce0 arch/x86/kernel/unwind_orc.c:418 Code: 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 49 89 fe 41 55 41 54 55 53 48 81 ec a0 00 00 00 48 c7 44 24 40 b3 8a b5 41 <48> 8d 5c 24 40 48 c7 44 24 48 09 a2 11 8b 48 c1 eb 03 48 c7 44 24 RSP: 0018:ffffc90000d97670 EFLAGS: 00000282 RAX: dffffc0000000000 RBX: ffffffff8163fc70 RCX: 0000000000000000 RDX: 1ffff920001b2f0e RSI: ffffffff81bb28ab RDI: ffffc90000d97748 RBP: ffffc90000d977d0 R08: ffffffff8e68ea70 R09: 0000000000000001 R10: fffff520001b2ef4 R11: 0000000000086088 R12: ffffc90000d97800 R13: 0000000000000000 R14: ffffc90000d97748 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000700 CR3: 0000000017846000 CR4: 0000000000350ee0 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track+0x1c/0x30 mm/kasan/common.c:46 kasan_set_free_info+0x20/0x30 mm/kasan/generic.c:360 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free mm/kasan/common.c:328 [inline] __kasan_slab_free+0xfb/0x130 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:229 [inline] slab_free_hook mm/slub.c:1639 [inline] slab_free_freelist_hook+0xdf/0x240 mm/slub.c:1664 slab_free mm/slub.c:3224 [inline] kmem_cache_free+0x8e/0x5a0 mm/slub.c:3240 kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:688 __kfree_skb net/core/skbuff.c:745 [inline] consume_skb net/core/skbuff.c:900 [inline] consume_skb+0xcf/0x160 net/core/skbuff.c:894 mac80211_hwsim_tx_frame+0x1f6/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1785 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 run_ksoftirqd kernel/softirq.c:920 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:912 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 NMI backtrace for cpu 0 CPU: 0 PID: 27213 Comm: syz-executor.2 Not tainted 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:debug_lockdep_rcu_enabled+0x6/0x30 kernel/rcu/update.c:280 Code: 0f 1f 40 00 0f 1f 44 00 00 65 81 05 00 ad e0 76 00 00 00 f0 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 8b 05 76 e5 c9 04 <85> c0 74 21 8b 05 ac 17 ca 04 85 c0 74 17 65 48 8b 04 25 00 f0 01 RSP: 0018:ffffc90000007c18 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffffff815b1071 RDX: fffffbfff1bd6a43 RSI: 0000000000000008 RDI: ffffffff8deb5210 RBP: 1ffff92000000f88 R08: 0000000000000000 R09: ffffffff8deb5217 R10: fffffbfff1bd6a42 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888091647c60 R14: ffffffff872e9aa0 R15: 0000000000000000 rcu_read_lock_held_common kernel/rcu/update.c:104 [inline] rcu_read_lock_sched_held+0xd/0x70 kernel/rcu/update.c:123 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x5d3/0x720 kernel/locking/lockdep.c:5636 __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] garp_join_timer+0xaa/0xf0 net/802/garp.c:408 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers.part.0+0x675/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/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:__rcu_read_unlock+0xa2/0x520 kernel/rcu/tree_plugin.h:465 Code: 00 85 c0 75 53 65 48 8b 2c 25 00 f0 01 00 48 8d bd cc 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 4f 01 00 00 81 RSP: 0018:ffffc9000a217c18 EFLAGS: 00000213 RAX: dffffc0000000000 RBX: ffffc9000a217d80 RCX: ffffc9000df06000 RDX: 0000000000000000 RSI: ffffffff88963a7d RDI: ffff88802eeb200c RBP: ffff88802eeb1c40 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff88963bd6 R11: 0000000000000000 R12: ffff88803a31c000 R13: ffff88801cf42800 R14: ffffc9000a217d80 R15: ffff8880b2a42e00 rcu_read_unlock include/linux/rcupdate.h:724 [inline] net_generic include/net/netns/generic.h:47 [inline] tipc_net net/tipc/core.h:152 [inline] tipc_name_table net/tipc/core.h:167 [inline] tipc_service_find+0x172/0x3f0 net/tipc/name_table.c:464 tipc_nametbl_build_group+0x8f/0x3b0 net/tipc/name_table.c:739 tipc_sk_join net/tipc/socket.c:3065 [inline] tipc_setsockopt+0x5e9/0xe70 net/tipc/socket.c:3173 __sys_setsockopt+0x2db/0x610 net/socket.c:2152 __do_sys_setsockopt net/socket.c:2163 [inline] __se_sys_setsockopt net/socket.c:2160 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2160 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:00007f246239c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000006 RBP: 00000000004bfcb9 R08: 0000000000000010 R09: 0000000000000000 R10: 00000000200002c0 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd27f0e81f R14: 00007f246239c300 R15: 0000000000022000