rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=3e94/1/0x4000000000000000 softirq=60498/60499 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3941/1:b..l (detected by 0, t=10502 jiffies, g=96061, q=37 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17489 Comm: syz-executor.4 Not tainted 6.1.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:110 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:117 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:444 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1030 [inline] RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xa0/0xa20 kernel/locking/lockdep.c:5673 Code: f3 4b 89 44 3c 08 0f 1f 44 00 00 65 8b 1d f8 8c 97 7e 48 c7 c0 38 94 73 8e 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 49 06 00 00 <39> 1d 72 07 09 0d 0f 86 c2 05 00 00 89 db 48 89 d8 48 c1 e8 06 48 RSP: 0018:ffffc900001e0b80 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88801aa4bb80 RDX: 0000000000010001 RSI: ffffffff88b50470 RDI: ffffffff8d12acc0 RBP: ffffc900001e0cb0 R08: ffffffff88b50522 R09: ffffed100e9d322c R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200003c17c R13: ffffffff88b50470 R14: dffffc0000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31722000 CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:355 [inline] rcu_read_unlock include/linux/rcupdate.h:824 [inline] advance_sched+0x800/0x970 net/sched/sch_taprio.c:755 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x78/0x80 kernel/kcov.c:313 Code: c1 e1 05 48 8d 41 28 4c 39 c8 77 1e 49 ff c2 4c 89 12 48 c7 44 11 08 07 00 00 00 48 89 7c 11 10 48 89 74 11 18 4c 89 44 11 20 0f 1f 80 00 00 00 00 41 57 41 56 41 54 53 48 8b 46 08 48 83 c0 RSP: 0018:ffffc9000314f318 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000004002 RCX: ffff88801aa4bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000314f510 R08: ffffffff81cc3e89 R09: ffffed1003549771 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88804ac058a8 R13: 800000004ec03007 R14: 00007f6fe9715000 R15: dffffc0000000000 need_resched include/linux/sched.h:2231 [inline] zap_pte_range mm/memory.c:1428 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0xb69/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x252/0x9f0 mm/mmap.c:3227 __mmput+0x115/0x3c0 kernel/fork.c:1199 exit_mm+0x226/0x300 kernel/exit.c:563 do_exit+0x9f6/0x26a0 kernel/exit.c:856 do_group_exit+0x202/0x2b0 kernel/exit.c:1019 get_signal+0x16f7/0x17d0 kernel/signal.c:2862 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:0x7f6fea27cea9 Code: Unable to access opcode bytes at 0x7f6fea27ce7f. RSP: 002b:00007f6feaf3f178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f6fea3b3f88 RCX: 00007f6fea27cea9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f6fea3b3f8c RBP: 00007f6fea3b3f80 R08: 0000000000000010 R09: 00007f6feaf3f6c0 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f6fea3b3f8c R13: 000000000000000b R14: 00007ffc9e03c010 R15: 00007ffc9e03c0f8 task:kworker/u4:9 state:R running task stack:19704 pid:3941 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 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 cf 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:ffffc90005057a80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000a0af5c RCX: 1ffff92000a0aefc RDX: dffffc0000000000 RSI: ffffffff8aec13c0 RDI: ffffffff8b3d4520 RBP: ffffc90005057be0 R08: dffffc0000000000 R09: fffffbfff2093a45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a0af58 R13: dffffc0000000000 R14: ffffc90005057ae0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xe8/0x610 net/batman-adv/network-coding.c:719 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:308 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g96061 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=57646 rcu: rcu_preempt kthread starved for 10502 jiffies! g96061 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:26048 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 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:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 3670 Comm: kworker/u4:6 Not tainted 6.1.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:smp_call_function_many_cond+0x1fcb/0x3460 kernel/smp.c:998 Code: df 75 0a e8 87 3f 0b 00 e9 1b ff ff ff f3 90 42 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff e8 65 3f 0b 00 e1 44 89 f9 80 e1 07 80 c1 03 38 c1 7c df 4c 89 ff e8 0e bf 62 RSP: 0018:ffffc9000467f5a0 EFLAGS: 00000293 RAX: ffffffff817f53ab RBX: 1ffff110173281b1 RCX: ffff888025b71dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000467f980 R08: ffffffff817f5374 R09: fffffbfff2093a45 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940d88 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f631000 CR3: 000000000ce8e000 CR4: 00000000003506f0 DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 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:308