rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10469/1:b..l P10491/1:b..l rcu: (detected by 1, t=10502 jiffies, g=50725, q=724 ncpus=2) task:syz-executor.2 state:R running task stack:25736 pid:10491 tgid:10490 ppid:10070 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 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:1676 [inline] zap_pmd_range mm/memory.c:1724 [inline] zap_pud_range mm/memory.c:1753 [inline] zap_p4d_range mm/memory.c:1774 [inline] unmap_page_range+0x3631/0x40f0 mm/memory.c:1795 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1885 unmap_region+0x1ec/0x350 mm/mmap.c:2365 do_vmi_align_munmap+0x1122/0x18c0 mm/mmap.c:2683 do_vmi_munmap+0x261/0x2f0 mm/mmap.c:2759 __vm_munmap+0x1fc/0x400 mm/mmap.c:3038 __do_sys_munmap mm/mmap.c:3055 [inline] __se_sys_munmap mm/mmap.c:3052 [inline] __x64_sys_munmap+0x68/0x80 mm/mmap.c:3052 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:0x7fac6f27d137 RSP: 002b:00007fac7001aea8 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007fac6f27d137 RDX: 0000000000000000 RSI: 0000000008400000 RDI: 00007fac65000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005ecd R10: 000000000000076c R11: 0000000000000246 R12: 0000000000000003 R13: 00007fac7001af80 R14: 00007fac7001af40 R15: 00007fac65000000 task:syz-executor.4 state:R running task stack:24200 pid:10469 tgid:10463 ppid:10066 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5758 Code: 2b 00 74 08 4c 89 f7 e8 7a 6b 89 00 f6 44 24 61 02 0f 85 85 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:ffffc900045170a0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008a2e20 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcacd00 RDI: ffffffff8c1fe640 RBP: ffffc900045171e8 R08: ffffffff92fa7587 R09: 1ffffffff25f4eb0 R10: dffffc0000000000 R11: fffffbfff25f4eb1 R12: 1ffff920008a2e1c R13: dffffc0000000000 R14: ffffc90004517100 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] __pte_offset_map+0x9e/0x380 mm/pgtable-generic.c:287 __pte_offset_map_lock+0xc7/0x300 mm/pgtable-generic.c:371 pte_offset_map_lock include/linux/mm.h:3020 [inline] finish_fault+0x32d/0xde0 mm/memory.c:4772 do_read_fault mm/memory.c:4924 [inline] do_fault mm/memory.c:5050 [inline] do_pte_missing mm/memory.c:3897 [inline] handle_pte_fault+0x3d3d/0x7090 mm/memory.c:5380 __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0x10df/0x1ba0 mm/memory.c:5688 faultin_page mm/gup.c:1290 [inline] __get_user_pages+0x6ef/0x1590 mm/gup.c:1589 populate_vma_page_range+0x264/0x330 mm/gup.c:2029 __mm_populate+0x27a/0x460 mm/gup.c:2132 mm_populate include/linux/mm.h:3464 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:578 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:0x7fe0bb67d0a9 RSP: 002b:00007fe0bc4ba0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fe0bb7b3f80 RCX: 00007fe0bb67d0a9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fe0bb6ec074 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe0bb7b3f80 R15: 00007ffd01c21e58 rcu: rcu_preempt kthread starved for 10127 jiffies! g50725 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:I stack:25168 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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 PID: 9056 Comm: kworker/u8:35 Not tainted 6.10.0-rc4-syzkaller-00179-g4545981f33be #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x26c/0x2a00 arch/x86/kernel/unwind_orc.c:494 Code: 55 00 39 eb 0f 86 02 1e 00 00 89 e8 48 8d 1c 85 60 35 d4 90 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 <84> c0 0f 85 b0 20 00 00 44 8b 3b 89 e8 ff c0 48 8d 1c 85 60 35 d4 RSP: 0018:ffffc900154e6a88 EFLAGS: 00000216 RAX: 0000000000000000 RBX: ffffffff90fb88a0 RCX: 00000000000ac001 RDX: ffff88802181da00 RSI: 000000000009d4d0 RDI: 00000000000ac000 RBP: 000000000009d4d0 R08: ffffffff8140f234 R09: ffffc900154e6c50 R10: 0000000000000003 R11: ffffffff8181de80 R12: ffffc900154e6b60 R13: 00000000000ac001 R14: dffffc0000000000 R15: ffffffff8ad4d05d FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffe8 CR3: 000000006004e000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:4122 [inline] __kmalloc_noprof+0x1f9/0x400 mm/slub.c:4135 kmalloc_noprof include/linux/slab.h:664 [inline] kzalloc_noprof include/linux/slab.h:778 [inline] cfg80211_inform_single_bss_data+0xd78/0x2360 net/wireless/scan.c:2265 cfg80211_inform_bss_data+0x3dd/0x5a70 net/wireless/scan.c:3117 cfg80211_inform_bss_frame_data+0x3bc/0x720 net/wireless/scan.c:3207 ieee80211_bss_info_update+0x8a7/0xbc0 net/mac80211/scan.c:226 ieee80211_rx_bss_info net/mac80211/ibss.c:1099 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1578 [inline] ieee80211_ibss_rx_queued_mgmt+0x1962/0x2d70 net/mac80211/ibss.c:1605 ieee80211_iface_process_skb net/mac80211/iface.c:1603 [inline] ieee80211_iface_work+0x8a3/0xf10 net/mac80211/iface.c:1657 cfg80211_wiphy_work+0x223/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244