rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=165101, q=990 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 5292 (4295069010-4295063718), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 5292 jiffies! g165101 f0x2 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:27584 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2034 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2236 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 18625 Comm: kworker/u8:0 Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline] RIP: 0010:queued_spin_is_locked include/asm-generic/qspinlock.h:57 [inline] RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:101 [inline] RIP: 0010:do_raw_spin_unlock+0x68/0x230 kernel/locking/spinlock_debug.c:141 Code: ad de 0f 85 75 01 00 00 be 04 00 00 00 48 89 df e8 ad 5d 80 00 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6c 01 00 00 8b RSP: 0018:ffffc90000007df8 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: ffff8880b882c9c0 RCX: ffffffff816a3d83 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b882c9c0 RBP: 0000000000000046 R08: 0000000000000000 R09: ffffed1017105938 R10: ffff8880b882c9c3 R11: 0000000000000000 R12: ffff8880b882cac0 R13: ffff88803070f340 R14: ffff8880b882c9c0 R15: ffffffff89272a40 FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5b48e31f98 CR3: 000000004c064000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x22/0x80 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5a7/0xcc0 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_trace_consume_entry+0x4e/0x170 kernel/stacktrace.c:86 Code: 04 02 84 c0 74 08 3c 03 0f 8e e7 00 00 00 48 8d 7b 08 8b 6b 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e ad 00 00 00 31 c0 3b 6b 08 0f 83 81 00 00 RSP: 0018:ffffc90002efee38 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffffc90002efef20 RCX: ffffffff81341dde RDX: 1ffff920005dfde5 RSI: ffffffff8a6434eb RDI: ffffc90002efef28 RBP: 0000000000000005 R08: 0000000000000007 R09: 0000000000000000 R10: ffffffff8a6434eb R11: 0000000000000000 R12: ffffc90002efee60 R13: ffffffff81776c00 R14: ffffc90002efef20 R15: ffff888011cebc00 arch_stack_walk+0xe1/0x170 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 __kasan_record_aux_stack+0xba/0xd0 mm/kasan/generic.c:541 kvfree_call_rcu+0x74/0xbe0 kernel/rcu/tree.c:3815 cfg80211_update_known_bss+0x39f/0x1150 net/wireless/scan.c:1891 __cfg80211_bss_update+0x1aa/0x2560 net/wireless/scan.c:1937 cfg80211_inform_single_bss_data+0x79b/0x1dc0 net/wireless/scan.c:2331 cfg80211_inform_bss_data+0x205/0x39c0 net/wireless/scan.c:3159 cfg80211_inform_bss_frame_data+0x271/0x7a0 net/wireless/scan.c:3254 ieee80211_bss_info_update+0x311/0xab0 net/mac80211/scan.c:226 ieee80211_rx_bss_info net/mac80211/ibss.c:1100 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1579 [inline] ieee80211_ibss_rx_queued_mgmt+0x1898/0x2f40 net/mac80211/ibss.c:1606 ieee80211_iface_process_skb net/mac80211/iface.c:1588 [inline] ieee80211_iface_work+0xc0b/0xf00 net/mac80211/iface.c:1642 cfg80211_wiphy_work+0x445/0x760 net/wireless/core.c:440 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244