rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3840/1:b..l P8570/1:b..l P9/1:b..l (detected by 1, t=10502 jiffies, g=34437, q=340) task:kworker/u4:0 state:R running task stack:23120 pid: 9 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627 Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b RSP: 0018:ffffc90000ce7aa0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 94c8e38f83b19e00 RDX: 0000000000000000 RSI: ffffffff8a0b2460 RDI: ffffffff8a59a900 RBP: ffffc90000ce7bc0 R08: dffffc0000000000 R09: fffffbfff1ff3619 R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: ffffffff8c11bfa0 R13: 1ffff9200019cf60 R14: 0000000000000246 R15: dffffc0000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc9/0x5c0 net/batman-adv/network-coding.c:723 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 task:dhcpcd state:R running task stack:28704 pid: 8570 ppid: 3840 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6552 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6577 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] filemap_map_pages+0x1031/0x1390 mm/filemap.c:3353 do_fault_around mm/memory.c:4243 [inline] do_read_fault mm/memory.c:4258 [inline] do_fault mm/memory.c:4392 [inline] handle_pte_fault mm/memory.c:4650 [inline] __handle_mm_fault mm/memory.c:4785 [inline] handle_mm_fault+0x2580/0x43c0 mm/memory.c:4883 do_user_addr_fault+0x489/0xc80 arch/x86/mm/fault.c:1357 handle_page_fault arch/x86/mm/fault.c:1445 [inline] exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1501 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7f8566791270 RSP: 002b:00007ffe0774e4a8 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 00007f85667eea98 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00007f8566a35f70 RDI: 00005638bff8a4a0 RBP: 00005638bff8a4a0 R08: 0000000000000007 R09: 0000000000000001 R10: 00007ffe0774e500 R11: 00007ffe0774e5a0 R12: 00007f85667eea98 R13: 0000000000000005 R14: 0000000000000005 R15: 0000000000000000 task:dhcpcd state:R running task stack:21376 pid: 3840 ppid: 3839 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xb1/0x150 kernel/sched/core.c:6780 irqentry_exit+0x63/0x70 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:inet_fill_link_af+0x3f/0xfe0 net/ipv4/devinet.c:1959 Code: 00 00 fc ff df e8 f1 b0 18 f9 48 81 c3 58 03 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 d4 29 5e f9 48 8b 1b cc 90 42 01 89 c5 31 ff 89 c6 e8 21 b4 18 f9 85 ed 74 10 e8 b8 RSP: 0018:ffffc9000353f080 EFLAGS: 00000246 RAX: 1ffff1100570ec6b RBX: ffff88802b605400 RCX: ffff888028181dc0 RDX: 0000000000000000 RSI: ffff88802b876000 RDI: ffff88801f6c78c0 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffff888077b7a670 R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: ffff888077b7a66c R13: dffffc0000000000 R14: ffff88801f6c78c0 R15: ffffffff8d6a3ce0 rtnl_fill_link_af+0x1c2/0x430 net/core/rtnetlink.c:1646 rtnl_fill_ifinfo+0x16d9/0x19e0 net/core/rtnetlink.c:1846 rtnl_dump_ifinfo+0xbb5/0x1260 net/core/rtnetlink.c:2178 netlink_dump+0x5ab/0xcb0 net/netlink/af_netlink.c:2265 netlink_recvmsg+0x653/0xdb0 net/netlink/af_netlink.c:1988 ____sys_recvmsg+0x291/0x580 net/socket.c:-1 ___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697 __sys_recvmsg net/socket.c:2727 [inline] __do_sys_recvmsg net/socket.c:2737 [inline] __se_sys_recvmsg net/socket.c:2734 [inline] __x64_sys_recvmsg+0x1dd/0x2a0 net/socket.c:2734 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f85668d9407 RSP: 002b:00007ffe0774e380 EFLAGS: 00000202 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007f856684f740 RCX: 00007f85668d9407 RDX: 0000000000000000 RSI: 00007ffe0774e410 RDI: 0000000000000020 RBP: 00007ffe0774e3f4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000001e14 R13: 00007ffe0774e400 R14: 00007ffe0774e4f0 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10573 jiffies! g34437 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:27904 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 8568 Comm: syz.8.869 Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x10c8/0x1220 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+0x831/0x1110 kernel/rcu/tree.c:2619 update_process_times+0x193/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: f6 ff 0f 1f 00 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ee 69 b1 f7 48 89 df e8 b6 3e b2 f7 e8 f1 e3 d2 f7 fb bf 01 00 00 00 e6 62 a6 f7 65 8b 05 87 72 57 76 85 c0 74 02 5b c3 e8 34 7d 55 RSP: 0018:ffffc900029bfbc0 EFLAGS: 00000282 RAX: 35191bda4249e400 RBX: ffff888023702e40 RCX: 35191bda4249e400 RDX: dffffc0000000000 RSI: ffffffff8a0b11c0 RDI: 0000000000000001 RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10046e05c9 R10: ffffed10046e05c9 R11: 1ffff110046e05c8 R12: ffff888023702e40 R13: 0000000000000021 R14: dffffc0000000000 R15: 000000001c000004 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x11d6/0x12c0 kernel/signal.c:2903 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe205e9c927 Code: ff ff 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 RSP: 002b:00007fe203d040e8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007fe2060c3fa8 RCX: 00007fe205e9c929 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe2060c3fa8 RBP: 00007fe2060c3fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe2060c3fac R13: 0000000000000000 R14: 00007ffdb7148900 R15: 00007ffdb71489e8