rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=314c/1/0x4000000000000000 softirq=43821/43830 fqs=14 rcu: (detected by 1, t=10506 jiffies, g=36917, q=702 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 3020 Comm: kworker/u8:7 Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x1d/0xe0 lib/smp_processor_id.c:56 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 83 ec 08 65 8b 1d 1d fa d9 74 65 8b 05 12 fa d9 74 a9 ff ff ff 7f 74 0f <48> 83 c4 08 89 d8 5b 5d 41 5c c3 cc cc cc cc 9c 58 f6 c4 02 74 ea RSP: 0018:ffffc90000007c20 EFLAGS: 00000006 RAX: 0000000080010003 RBX: 0000000000000000 RCX: ffffffff8176b9d9 RDX: fffffbfff20be72b RSI: ffffffff8bd1ed60 RDI: ffffffff8bd1eda0 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff20be72a R10: ffffffff905f3957 R11: 0000000000000004 R12: ffffffff9aa73d68 R13: dffffc0000000000 R14: ffff888036a06340 R15: 1ffff92000000faa FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f5f2ff8 CR3: 0000000032828000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:737 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x4e2/0x6f0 kernel/locking/lockdep.c:5860 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x80 kernel/locking/spinlock.c:194 debug_object_deactivate+0x1ef/0x370 lib/debugobjects.c:888 debug_hrtimer_deactivate kernel/time/hrtimer.c:433 [inline] debug_deactivate kernel/time/hrtimer.c:475 [inline] __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x47c/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 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:rcu_read_lock include/linux/rcupdate.h:850 [inline] RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] RIP: 0010:batadv_nc_worker+0xc0e/0x1060 net/batman-adv/network-coding.c:719 Code: 4d c8 8c c6 05 b2 83 4f 05 01 e8 ad cc 7d f6 e9 79 fc ff ff e8 43 c0 a1 f6 e8 ee 47 87 f6 31 ff 41 89 c4 89 c6 e8 12 c2 a1 f6 <45> 84 e4 0f 85 6e f5 ff ff e8 24 c0 a1 f6 e8 ff 73 31 00 31 ff 41 RSP: 0018:ffffc9000c137b90 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff88805e7ccda8 RCX: ffffffff8af855de RDX: ffff888030ea0000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 00000000000001b5 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000001 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 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 rcu: rcu_preempt kthread starved for 10260 jiffies! g36917 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:28472 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 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: 11585 Comm: syz.5.1491 Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x53/0x70 kernel/kcov.c:222 Code: 3c a9 00 00 f0 00 75 35 8b 82 1c 16 00 00 85 c0 74 2b 8b 82 f8 15 00 00 83 f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 00 00 <48> 8b 01 48 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 c3 cc cc RSP: 0018:ffffc90004b37b28 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff8880b86469c0 RCX: ffffc9001be01000 RDX: 0000000000080000 RSI: ffffffff818e0756 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: ffffed10170c8d39 R13: 0000000000000001 R14: ffff8880b86469c8 R15: ffff8880b873fe40 FS: 00007fa83e9086c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa83e907f98 CR3: 0000000036d0a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x456/0x1300 kernel/smp.c:884 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 __sched_core_enable kernel/sched/core.c:432 [inline] sched_core_get+0x8a/0xa0 kernel/sched/core.c:456 sched_core_alloc_cookie kernel/sched/core_sched.c:18 [inline] sched_core_share_pid+0x41f/0xa00 kernel/sched/core_sched.c:185 __do_sys_prctl+0x15e6/0x2190 kernel/sys.c:2741 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:0x7fa83db85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa83e908038 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007fa83dd75fa0 RCX: 00007fa83db85d29 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e RBP: 00007fa83dc01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa83dd75fa0 R15: 00007fffab9bcd98