rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=4024/1/0x4000000000000000 softirq=33539/33539 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8091/1:b..l rcu: (detected by 1, t=10506 jiffies, g=30701, q=148 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.11.0-syzkaller-12113-ge7ed34365879 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline] RIP: 0010:queued_spin_is_locked include/asm-generic/qspinlock.h:57 [inline] RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:101 [inline] RIP: 0010:do_raw_spin_unlock+0x68/0x230 kernel/locking/spinlock_debug.c:141 Code: ad de 0f 85 75 01 00 00 be 04 00 00 00 48 89 df e8 fd e1 83 00 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 6c 01 00 00 8b RSP: 0018:ffffc90000007d08 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: ffffffff9aa22310 RCX: ffffffff816b2353 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff9aa22310 RBP: 0000000000000006 R08: 0000000000000000 R09: fffffbfff3544462 R10: ffffffff9aa22313 R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff888032c9f340 R15: 1ffff92000000faa FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ade69 CR3: 000000005c082000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x22/0x80 kernel/locking/spinlock.c:194 debug_object_deactivate+0x1f0/0x370 lib/debugobjects.c:778 debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline] debug_deactivate kernel/time/hrtimer.c:484 [inline] __run_hrtimer kernel/time/hrtimer.c:1659 [inline] __hrtimer_run_queues+0x47c/0xae0 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1043 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire.part.0+0x155/0x380 kernel/locking/lockdep.c:5790 Code: b8 ff ff ff ff 65 0f c1 05 f0 d4 97 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: 0018:ffffc90000bd7aa8 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 1ffff9200017af56 RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffffffff8b6cd340 RDI: ffffffff8bd19d40 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2dc4988 R10: ffffffff96e24c47 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8e1b8340 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:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 task:syz.4.1104 state:R running task stack:25824 pid:8091 tgid:8091 ppid:6541 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 preempt_schedule_notrace+0x62/0xe0 kernel/sched/core.c:6947 preempt_schedule_notrace_thunk+0x1a/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x8e/0xc0 kernel/rcu/tree.c:738 trace_lock_acquire+0x14a/0x1d0 include/trace/events/lock.h:24 lock_acquire+0x2f/0xb0 kernel/locking/lockdep.c:5796 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] lock_vma_under_rcu+0xea/0x980 mm/memory.c:6222 do_user_addr_fault+0x457/0x13f0 arch/x86/mm/fault.c:1329 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f6369a5cdb6 RSP: 002b:00007ffd52970a30 EFLAGS: 00010202 RAX: 000000110c2a8000 RBX: 00007f636a865720 RCX: 0000000000000002 RDX: ffffffff81ff9254 RSI: 0000000000003e49 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007f6369d20000 R09: 00007f6369d22000 R10: 0000000081ff9258 R11: 0000000000000000 R12: ffffffff81ff9b3e R13: 00007f6369d36018 R14: 0000000000000008 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10506 jiffies! g30701 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:27504 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: CPU: 1 UID: 0 PID: 8090 Comm: syz.1.1105 Not tainted 6.11.0-syzkaller-12113-ge7ed34365879 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x458/0x1300 kernel/smp.c:884 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 aa 20 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a4 0c 00 00 8b 43 08 31 RSP: 0018:ffffc9000d9d7a98 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8646b80 RCX: ffffffff8181686c RDX: ffff8880575d8000 RSI: ffffffff81816846 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10170c8d71 R13: 0000000000000001 R14: ffff8880b8646b88 R15: ffff8880b8740100 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31e1bff8 CR3: 000000002eb32000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline] flush_tlb_multi arch/x86/mm/tlb.c:938 [inline] flush_tlb_mm_range+0x289/0x330 arch/x86/mm/tlb.c:1024 tlb_flush arch/x86/include/asm/tlb.h:20 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:465 [inline] tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:455 [inline] tlb_flush_mmu mm/mmu_gather.c:372 [inline] tlb_finish_mmu+0x3c9/0x7b0 mm/mmu_gather.c:465 exit_mmap+0x3df/0xb30 mm/mmap.c:1877 __mmput+0x12a/0x480 kernel/fork.c:1347 mmput+0x62/0x70 kernel/fork.c:1369 exit_mm kernel/exit.c:571 [inline] do_exit+0x9bf/0x2d70 kernel/exit.c:926 do_group_exit+0xd3/0x2a0 kernel/exit.c:1088 __do_sys_exit_group kernel/exit.c:1099 [inline] __se_sys_exit_group kernel/exit.c:1097 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1097 x64_sys_call+0x14a9/0x16a0 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:0x7fa140b7dff9 Code: Unable to access opcode bytes at 0x7fa140b7dfcf. RSP: 002b:00007fff1bf0b788 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa140b7dff9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fff1bf0b7dc R08: 00007fff1bf0b86f R09: 0000000000033ab4 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000032 R13: 0000000000033ab4 R14: 0000000000033a5c R15: 00007fff1bf0b830