rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10506 jiffies, g=18037, q=368 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10496 (4294963665-4294953169), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10496 jiffies! g18037 f0x2 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:27600 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: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:trace_hrtimer_cancel+0x17d/0x220 include/trace/events/timer.h:317 Code: 0d 40 00 88 7e 40 0f 94 c5 31 ff 89 ee e8 ab f5 12 00 40 84 ed 0f 84 a0 fe ff ff e8 bd f3 12 00 e8 f8 cb 84 ff e9 9d fe ff ff ae f3 12 00 e8 09 74 f8 ff 31 ff 89 c3 89 c6 e8 7e f5 12 00 84 RSP: 0000:ffffc90000007e10 EFLAGS: 00000002 RAX: 0000000080010002 RBX: 0000000000000001 RCX: ffffffff817bd7db RDX: ffff88801cef2440 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff888040932340 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000003 R12: ffff888040932340 R13: ffff8880b862cb00 R14: ffff8880b862ca00 R15: ffffffff893c2970 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c453e48 CR3: 000000005ba8a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_deactivate kernel/time/hrtimer.c:476 [inline] __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x484/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:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5243 Code: a9 0a 00 00 44 8b 0d 03 68 03 0f 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 d9 f1 38 00 fb 65 48 8b 1d f0 4e a6 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0000:ffffc90000107838 EFLAGS: 00000206 RAX: 00000000002fa339 RBX: ffff88801cef2440 RCX: 1ffffffff2ddc782 RDX: 0000000000000000 RSI: ffffffff8b6cdee0 RDI: ffffffff8bd1e240 RBP: ffffc90000107880 R08: 0000000000000001 R09: fffffbfff2dd0db5 R10: ffffffff96e86daf R11: 0000000000000002 R12: ffff8880b863f9e0 R13: ffff88801ef1a440 R14: 0000000000000000 R15: ffff8880b863ebc0 context_switch kernel/sched/core.c:5372 [inline] __schedule+0xe60/0x5ad0 kernel/sched/core.c:6756 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7078 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:__local_bh_enable_ip+0xac/0x120 kernel/softirq.c:389 Code: 1d 31 c2 b2 7e 65 8b 05 2a c2 b2 7e a9 00 ff ff 00 74 4d bf 01 00 00 00 e8 e1 c6 0b 00 e8 ec 64 45 00 fb 65 8b 05 0c c2 b2 7e <85> c0 74 52 5b 5d c3 cc cc cc cc 65 8b 05 7e 71 b1 7e 85 c0 75 9e RSP: 0000:ffffc90000107b00 EFLAGS: 00000206 RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff2ddc782 RDX: 0000000000000000 RSI: ffffffff8b6cdee0 RDI: ffffffff8bd1e240 RBP: ffffffff8af2b2f6 R08: 0000000000000001 R09: fffffbfff2dd0db5 R10: ffffffff96e86daf R11: 0000000000000002 R12: ffffffff8af2b6a0 R13: ffff8880411ad100 R14: 0000000000000000 R15: ffff888035bf7980 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x1c6/0x390 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x94a/0x1060 net/batman-adv/network-coding.c:722 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