rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3710/1:b..l P152/1:b..l (detected by 0, t=10503 jiffies, g=18353, q=185 ncpus=2) task:kworker/1:2 state:R running task stack:23320 pid:152 ppid:2 flags:0x00004000 Workqueue: wg-kex-wg1 wg_packet_handshake_receive_worker Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:save_stack+0x143/0x1e0 mm/page_owner.c:134 Code: ff eb 1a e8 0f 74 9f ff 44 8b 35 f8 6a 54 15 eb 19 e8 01 74 9f ff 44 8b 35 0a 6b 54 15 43 0f b6 04 27 84 c0 75 7b 80 63 01 fb <48> c7 44 24 20 0e 36 e0 45 43 c7 04 2c 00 00 00 00 43 c7 44 2c 14 RSP: 0018:ffffc90002d7f580 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801d3e2330 RCX: ffff88801d3e1dc0 RDX: 0000000000000000 RSI: 0000000004760344 RDI: 0000000000000000 RBP: ffffc90002d7f6c0 R08: ffffffff81eb3a50 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005afeb4 R14: 0000000004760344 R15: 1ffff11003a7c466 __reset_page_owner+0x52/0x1a0 mm/page_owner.c:148 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1444 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3369 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x17b/0x250 mm/slub.c:2662 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 ____kasan_kmalloc mm/kasan/common.c:340 [inline] __kasan_kmalloc+0x1f/0xb0 mm/kasan/common.c:383 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:693 [inline] keypair_create drivers/net/wireguard/noise.c:100 [inline] wg_noise_handshake_begin_session+0xc0/0xb70 drivers/net/wireguard/noise.c:827 wg_receive_handshake_packet drivers/net/wireguard/receive.c:176 [inline] wg_packet_handshake_receive_worker+0x62a/0xf00 drivers/net/wireguard/receive.c:213 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 task:kworker/u4:6 state:R running task stack:23896 pid:3710 ppid:2 flags:0x00004000 Workqueue: phy26 ieee80211_iface_work Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 6f aa 77 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000417f3a0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200082fe80 RCX: 1ffff9200082fe20 RDX: dffffc0000000000 RSI: ffffffff8b0c13e0 RDI: ffffffff8b5d69c0 RBP: ffffc9000417f4e8 R08: dffffc0000000000 R09: fffffbfff223b645 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200082fe7c R13: dffffc0000000000 R14: ffffc9000417f400 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] page_ext_get+0x39/0x2a0 mm/page_ext.c:157 __page_table_check_zero+0x139/0x4b0 mm/page_table_check.c:146 page_table_check_free include/linux/page_table_check.h:46 [inline] free_pages_prepare mm/page_alloc.c:1445 [inline] free_pcp_prepare mm/page_alloc.c:1494 [inline] free_unref_page_prepare+0xf73/0x1120 mm/page_alloc.c:3369 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3464 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2586 put_cpu_partial+0x17b/0x250 mm/slub.c:2662 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x156/0x170 mm/kasan/quarantine.c:294 ____kasan_kmalloc mm/kasan/common.c:340 [inline] __kasan_kmalloc+0x1f/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xb2/0x230 mm/slab_common.c:949 kmalloc include/linux/slab.h:562 [inline] kzalloc include/linux/slab.h:693 [inline] __sta_info_alloc+0x93/0x1f20 net/mac80211/sta_info.c:535 ieee80211_ibss_add_sta+0x5ef/0x8c0 net/mac80211/ibss.c:632 ieee80211_update_sta_info net/mac80211/ibss.c:1027 [inline] ieee80211_rx_bss_info net/mac80211/ibss.c:1118 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1609 [inline] ieee80211_ibss_rx_queued_mgmt+0x15bb/0x2dd0 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1653 [inline] ieee80211_iface_work+0x7aa/0xce0 net/mac80211/iface.c:1707 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: rcu_preempt kthread starved for 10384 jiffies! g18353 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:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 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: 4431 Comm: syz.2.75 Not tainted 6.1.109-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:_raw_spin_lock_irqsave+0x46/0x120 kernel/locking/spinlock.c:161 Code: 25 28 00 00 00 48 89 44 24 40 49 bf 00 00 00 00 00 fc ff df 4c 8d 64 24 20 48 c7 04 24 b3 8a b5 41 48 c7 44 24 08 e1 06 b5 8c <48> c7 44 24 10 e0 09 b1 8a 49 89 e5 49 c1 ed 03 48 b8 f1 f1 f1 f1 RSP: 0018:ffffc900038ef860 EFLAGS: 00000086 RAX: 722ceb5be1a7ca00 RBX: ffffffff9755a2a8 RCX: 61c8864680b583eb RDX: dffffc0000000000 RSI: 0000000000000050 RDI: ffffffff9755a2b0 RBP: ffffc900038ef8e8 R08: dffffc0000000000 R09: fffffbfff1d33b6e R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900038ef880 R13: ffff88808ee2c770 R14: ffffffff9755a2b0 R15: dffffc0000000000 FS: 00007fca7514e6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d56381378 CR3: 000000005b230000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __debug_check_no_obj_freed lib/debugobjects.c:967 [inline] debug_check_no_obj_freed+0xd8/0x4e0 lib/debugobjects.c:1008 slab_free_hook mm/slub.c:1699 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x241/0x510 mm/slub.c:3683 __sigqueue_free kernel/signal.c:458 [inline] collect_signal kernel/signal.c:601 [inline] __dequeue_signal+0x4ac/0x5c0 kernel/signal.c:623 dequeue_signal+0x165/0x590 kernel/signal.c:646 get_signal+0x5f2/0x17d0 kernel/signal.c:2750 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fca7437cef9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fca7514e0e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007fca74535f88 RCX: 00007fca7437cef9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fca74535f8c RBP: 00007fca74535f80 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fca74535f8c R13: 0000000000000000 R14: 00007fffd1c468b0 R15: 00007fffd1c46998