rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=bb2c/1/0x4000000000000000 softirq=21760/21761 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P36 rcu: (detected by 0, t=10502 jiffies, g=17169, q=73 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 36 Comm: kworker/u8:2 Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:do_raw_spin_lock+0x2a/0x2c0 kernel/locking/spinlock_debug.c:114 Code: f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 41 56 41 55 41 54 55 53 48 89 fb 48 83 c7 04 48 83 ec 68 48 c7 44 24 08 b3 8a b5 41 <48> 8d 6c 24 08 48 c7 44 24 10 9c 00 98 8d 48 c1 ed 03 48 c7 44 24 RSP: 0000:ffffc90000a28c48 EFLAGS: 00000096 RAX: dffffc0000000000 RBX: ffffffff9aa567d0 RCX: ffffffff8195c86e RDX: 0000000000000001 RSI: ffffffff8b6cff80 RDI: ffffffff9aa567d4 RBP: 0000000000000002 R08: 0000000000000000 R09: fffffbfff2dd8d98 R10: ffffffff96ec6cc7 R11: 0000000000000004 R12: dffffc0000000000 R13: ffff888059216340 R14: 1ffff920001451a4 R15: ffffffff9aa567c8 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fecf4d92b68 CR3: 00000000658c4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x149/0x4a0 lib/debugobjects.c:818 debug_hrtimer_activate kernel/time/hrtimer.c:455 [inline] debug_activate kernel/time/hrtimer.c:496 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1100 __run_hrtimer kernel/time/hrtimer.c:1818 [inline] __hrtimer_run_queues+0x903/0xae0 kernel/time/hrtimer.c:1865 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1927 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5252 Code: a9 0a 00 00 44 8b 0d b3 e4 d9 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 a9 f2 38 00 fb 65 48 8b 1d a0 20 7b 7e <48> 8d bb 08 16 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0000:ffffc90000ac7778 EFLAGS: 00000202 RAX: 00000000003613d5 RBX: ffff88801dea2440 RCX: 1ffffffff2de484a RDX: 0000000000000000 RSI: ffffffff8b6cfc80 RDI: ffffffff8bd369a0 RBP: ffffc90000ac77c0 R08: 0000000000000001 R09: fffffbfff2dd8db5 R10: ffffffff96ec6daf R11: 0000000000000003 R12: ffff8880b873fa30 R13: ffff888030514880 R14: 0000000000000000 R15: ffff8880b863ec00 context_switch kernel/sched/core.c:5381 [inline] __schedule+0xf4b/0x5890 kernel/sched/core.c:6765 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7087 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5816 Code: b8 ff ff ff ff 65 0f c1 05 50 c8 6b 7e 83 f8 01 0f 85 d0 01 00 00 9c 58 f6 c4 02 0f 85 e5 01 00 00 48 85 ed 0f 85 b6 01 00 00 <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0000:ffffc90000ac7a40 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff92000158f49 RCX: 0000000003770b2a RDX: 0000000000000001 RSI: ffffffff8b6cff80 RDI: ffffffff8bd369a0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2dd8d98 R10: ffffffff96ec6cc7 R11: 0000000000000002 R12: 0000000000000000 R13: ffffffff8e1bd140 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16a/0x1060 net/batman-adv/network-coding.c:719 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3400 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 task:kworker/u8:2 state:R running task stack:24128 pid:36 tgid:36 ppid:2 task_flags:0x4208060 flags:0x00004008 Workqueue: bat_events batadv_nc_worker Call Trace: rcu: rcu_preempt kthread starved for 10502 jiffies! g17169 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:R running task stack:27984 pid:18 tgid:18 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6857 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2024 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2226 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 7889 Comm: syz.3.515 Not tainted 6.14.0-rc7-syzkaller-00069-g81e4f8d68c66 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x4c6/0x12c0 kernel/smp.c:885 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 ac 0e 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 e8 0b 00 00 8b 43 08 31 RSP: 0000:ffffc9000f4dfa40 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8744a80 RCX: ffffffff81ade46a RDX: ffff8880217b2440 RSI: ffffffff81ade444 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10170e8951 R13: 0000000000000001 R14: ffff8880b863fe80 R15: ffff8880b8744a88 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f400ff8 CR3: 00000000658c4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1052 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:966 [inline] flush_tlb_mm_range+0x271/0x4a0 arch/x86/mm/tlb.c:1054 tlb_flush arch/x86/include/asm/tlb.h:20 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:481 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:471 [inline] tlb_flush_mmu mm/mmu_gather.c:395 [inline] tlb_finish_mmu+0x3c9/0x7b0 mm/mmu_gather.c:488 exit_mmap+0x40e/0xba0 mm/mmap.c:1297 __mmput+0x12a/0x410 kernel/fork.c:1356 mmput+0x62/0x70 kernel/fork.c:1378 exit_mm kernel/exit.c:570 [inline] do_exit+0x9ba/0x2db0 kernel/exit.c:925 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1096 x64_sys_call+0x151f/0x1720 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe2ca18d169 Code: Unable to access opcode bytes at 0x7fe2ca18d13f. RSP: 002b:00007ffc5af53ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe2ca18d169 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffc5af53f5c R08: 0000001e5af53fef R09: 00000000000927c0 R10: 000000000000021c R11: 0000000000000246 R12: 0000000000000072 R13: 00000000000927c0 R14: 0000000000031e66 R15: 00007ffc5af53fb0