rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5949/1:b..l P5839/1:b..l rcu: (detected by 1, t=10503 jiffies, g=7109, q=2932144 ncpus=2) task:syz-executor state:R running task stack:19088 pid:5839 tgid:5839 ppid:5834 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7012 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_trace_consume_entry+0xa7/0x280 kernel/stacktrace.c:93 Code: 41 0f b6 44 15 00 84 c0 0f 85 69 01 00 00 44 89 37 b0 01 e9 95 00 00 00 31 c0 e9 8e 00 00 00 48 89 d8 48 c1 e8 03 80 3c 10 00 <74> 26 4c 89 0c 24 48 89 df 49 89 f5 4d 89 c6 e8 15 0b 7e 00 4d 89 RSP: 0018:ffffc90003f27250 EFLAGS: 00000246 RAX: 1ffff920007e4e70 RBX: ffffc90003f27380 RCX: ffffffff917c1000 RDX: dffffc0000000000 RSI: ffffffff81fead7a RDI: ffffc90003f2738c RBP: ffffc90003f27388 R08: 0000000000000004 R09: ffffc90003f27390 R10: ffffc90003f272f0 R11: ffffffff818090c0 R12: 1ffff920007e4e71 R13: 1ffff920007e4e71 R14: 0000000000000000 R15: 1ffff920007e4e72 arch_stack_walk+0x10e/0x150 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 discard_slab mm/slub.c:2677 [inline] __put_partials+0xeb/0x130 mm/slub.c:3145 put_cpu_partial+0x17c/0x250 mm/slub.c:3220 __slab_free+0x2ea/0x3d0 mm/slub.c:4449 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 vma_lock_alloc kernel/fork.c:446 [inline] vm_area_dup+0x61/0x290 kernel/fork.c:499 dup_mmap kernel/fork.c:696 [inline] dup_mm kernel/fork.c:1674 [inline] copy_mm+0xc94/0x1f40 kernel/fork.c:1723 copy_process+0x1845/0x3d50 kernel/fork.c:2372 kernel_clone+0x226/0x8f0 kernel/fork.c:2784 __do_sys_clone kernel/fork.c:2927 [inline] __se_sys_clone kernel/fork.c:2911 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2911 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4b28574f93 RSP: 002b:00007ffcf58f1948 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4b28574f93 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055557f4c77d0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000fe56 R14: 000000000000fcda R15: 00007ffcf58f1ad0 task:syz.4.5 state:R running task stack:23168 pid:5949 tgid:5947 ppid:5847 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6869 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6893 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1691 [inline] zap_pmd_range mm/memory.c:1739 [inline] zap_pud_range mm/memory.c:1768 [inline] zap_p4d_range mm/memory.c:1789 [inline] unmap_page_range+0x36b1/0x40e0 mm/memory.c:1810 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1900 exit_mmap+0x275/0xc40 mm/mmap.c:1874 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x28e0 kernel/exit.c:926 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 get_signal+0x16a3/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9770f7e719 RSP: 002b:00007f9771ca1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: 0000000020000000 RBX: 00007f9771135f80 RCX: 00007f9770f7e719 RDX: 0000000003000002 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f9770ff132e R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9771135f80 R15: 00007ffe9c272c18 rcu: rcu_preempt kthread starved for 6527 jiffies! g7109 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:24912 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 12 Comm: kworker/u8:1 Not tainted 6.12.0-rc4-syzkaller-00784-gab101c553bc1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5566 [inline] RIP: 0010:lock_is_held_type+0xa9/0x190 kernel/locking/lockdep.c:5897 Code: 2f 3a 74 41 83 bd d8 0a 00 00 00 7e 47 4c 89 eb 48 81 c3 e0 0a 00 00 31 ed 48 83 fd 31 73 24 48 89 df 4c 89 fe e8 77 02 00 00 <85> c0 75 2a 48 ff c5 49 63 85 d8 0a 00 00 48 83 c3 28 48 39 c5 7c RSP: 0018:ffffc90000007718 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff88801d2c6558 RCX: 0000000080000101 RDX: ffff88801d2c5a00 RSI: ffffffff8e937e20 RDI: ffff88801d2c6558 RBP: 0000000000000003 R08: ffffffff8a21fa83 R09: 1ffffffff285a900 R10: dffffc0000000000 R11: fffffbfff285a901 R12: 0000000000000246 R13: ffff88801d2c5a00 R14: 00000000ffffffff R15: ffffffff8e937e20 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8a2c3fe6a4 CR3: 0000000011978000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_hook include/linux/netfilter.h:241 [inline] NF_HOOK+0x17c/0x450 include/linux/netfilter.h:312 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5668 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5781 process_backlog+0x662/0x15b0 net/core/dev.c:6113 __napi_poll+0xcb/0x490 net/core/dev.c:6834 napi_poll net/core/dev.c:6903 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7025 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 ieee80211_rx_bss_info net/mac80211/ibss.c:1172 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1579 [inline] ieee80211_ibss_rx_queued_mgmt+0x1b14/0x2d70 net/mac80211/ibss.c:1606 ieee80211_iface_process_skb net/mac80211/iface.c:1603 [inline] ieee80211_iface_work+0x8a5/0xf20 net/mac80211/iface.c:1657 cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244