rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3644/1:b..l (detected by 0, t=10502 jiffies, g=6065, q=88) task:kworker/u4:6 state:R running task stack:24856 pid: 3644 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:643 RIP: 0010:rcu_read_lock include/linux/rcupdate.h:740 [inline] RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] RIP: 0010:batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 Code: 10 48 8b 44 24 10 42 80 3c 28 00 74 08 4c 89 ff e8 44 e7 ce f7 4a 8d 1c e5 00 00 00 00 49 03 1f e8 84 82 70 f7 e8 8f 81 00 00 aa bf 22 00 89 c5 31 ff 89 c6 e8 6f 1c 85 f7 85 ed 74 10 e8 96 RSP: 0018:ffffc90003187bf8 EFLAGS: 00000296 RAX: cb822bc1170f1400 RBX: ffff88801eb15c08 RCX: 1ffff92000630efc RDX: dffffc0000000000 RSI: ffffffff8a8b3c20 RDI: ffffffff8ad8f680 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1f7f019 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000381 R13: dffffc0000000000 R14: ffff888019c0cc80 R15: ffff88801498c540 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: rcu_preempt kthread timer wakeup didn't happen for 10417 jiffies! g6065 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=3333 rcu: rcu_preempt kthread starved for 10423 jiffies! g6065 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:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 3780 Comm: syz-executor.1 Not tainted 5.15.159-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0xa38/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__syscall_enter_from_user_work kernel/entry/common.c:93 [inline] RIP: 0010:syscall_enter_from_user_mode+0x37/0x240 kernel/entry/common.c:114 Code: 49 89 fe 48 8b 7c 24 30 e8 46 f6 ff ff e9 8d 01 00 00 e9 91 01 00 00 e8 07 d6 68 f7 e8 f2 d3 68 f7 fb 65 4c 8b 3d e9 66 e4 75 <49> 8b 5f 08 f6 c3 3f 0f 84 ce 00 00 00 f6 c3 20 74 17 4c 89 f7 e8 RSP: 0018:ffffc90003297ef8 EFLAGS: 00000282 RAX: aae2950190488200 RBX: ffffc90003297f30 RCX: ffffffff913eff03 RDX: dffffc0000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f680 RBP: ffffc90003297f48 R08: ffffffff8186dcf0 R09: fffffbfff1bc8cee R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000027 R14: ffffc90003297f58 R15: ffff88801f959dc0 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0e95678667 Code: 0b e9 68 fe ff ff 48 83 c4 18 48 8d 3d f2 01 c6 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 b3 68 fd ff 0f 1f 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 66 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007f0e93bedb08 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00007f0e93bedc70 RCX: 00007f0e95678667 RDX: 00007f0e93bedb40 RSI: 00007f0e93bedc70 RDI: 0000000000000021 RBP: 0000000000000000 R08: 0000000020048000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0e957a9f80 R15: 00007fff64d318c8