rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P7080/1:b..l P4315/1:b..l (detected by 0, t=10502 jiffies, g=28693, q=97) task:kworker/u4:11 state:R running task stack:22752 pid: 4315 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:ffffc900031bfa40 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 2fd3da789ad2e400 RDX: 0000000000000000 RSI: ffffffff8a0b2460 RDI: ffffffff8a59a740 RBP: ffffc900031bfb58 R08: dffffc0000000000 R09: fffffbfff1ff3619 R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: ffffffff8c11bfa0 R13: 1ffff92000637f54 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_process_nc_paths+0xb2/0x350 net/batman-adv/network-coding.c:691 batadv_nc_worker+0x3e5/0x5c0 net/batman-adv/network-coding.c:732 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:syz.0.636 state:R running task stack:27424 pid: 7080 ppid: 4181 flags:0x00004000 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_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:arch_atomic64_fetch_add_unless include/linux/atomic/atomic-arch-fallback.h:2296 [inline] RIP: 0010:arch_atomic64_add_unless include/linux/atomic/atomic-arch-fallback.h:2318 [inline] RIP: 0010:arch_atomic_long_add_unless include/linux/atomic/atomic-long.h:491 [inline] RIP: 0010:atomic_long_add_unless include/linux/atomic/atomic-instrumented.h:1727 [inline] RIP: 0010:__fget_files_rcu fs/file.c:874 [inline] RIP: 0010:__fget_files+0x20c/0x480 fs/file.c:905 Code: 00 00 e8 97 04 ee ff 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 ef e8 d8 02 ee ff 4c 8b 75 00 <31> ff 4c 89 f6 e8 9a 8e a8 ff 4d 85 f6 0f 84 ab 00 00 00 48 89 5c RSP: 0018:ffffc90002ddf600 EFLAGS: 00000246 RAX: 1ffff11004525f7f RBX: ffff888077d7c028 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88802292fbf8 RBP: ffff88802292fbf8 R08: dffffc0000000000 R09: ffffed1004525f80 R10: ffffed1004525f80 R11: 1ffff11004525f7f R12: ffff88802ad42998 R13: 0000000000004000 R14: 0000000000000002 R15: ffff88802292fb80 __fget fs/file.c:914 [inline] __fget_light fs/file.c:1018 [inline] __fdget+0x17e/0x210 fs/file.c:1026 fdget include/linux/file.h:65 [inline] do_select+0xeb6/0x16f0 fs/select.c:533 core_sys_select+0x65c/0x860 fs/select.c:680 do_pselect fs/select.c:762 [inline] __do_sys_pselect6 fs/select.c:803 [inline] __se_sys_pselect6+0x2ed/0x3a0 fs/select.c:794 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:0x7fdc74cb9929 RSP: 002b:00007fdc72b00038 EFLAGS: 00000246 ORIG_RAX: 000000000000010e RAX: ffffffffffffffda RBX: 00007fdc74ee1080 RCX: 00007fdc74cb9929 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000040 RBP: 00007fdc74d3bb39 R08: 0000000000000000 R09: 0000000000000000 R10: 00002000000002c0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fdc74ee1080 R15: 00007ffc96567e38 rcu: rcu_preempt kthread starved for 10568 jiffies! g28693 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:27840 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7079 Comm: syz.3.635 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__kasan_check_read+0x6/0x10 mm/kasan/shadow.c:31 Code: 41 5f 5d c3 48 c7 c7 7b 62 b7 8b eb 0a 48 c7 c7 4d 78 a1 8b 48 89 de e8 48 b3 d9 07 31 ed eb d7 00 00 cc cc 89 f6 48 8b 0c 24 <31> d2 e9 43 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 RSP: 0018:ffffc900030ef738 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 000000000000019b RCX: ffffffff815befcb RDX: 000000000000019b RSI: 0000000000000008 RDI: ffffffff8ff9b0f0 RBP: ffffc900030ef990 R08: dffffc0000000000 R09: 0000000000000000 R10: fffffbfff1ad157e R11: 1ffffffff1ad157d R12: ffff888029b6e450 R13: 0000000000000030 R14: 0000000000000000 R15: ffff888029b6e430 FS: 00007f040f0636c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000006b000 CR3: 000000002258e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:197 [inline] check_wait_context kernel/locking/lockdep.c:4686 [inline] __lock_acquire+0x51b/0x7c60 kernel/locking/lockdep.c:4962 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __might_fault+0xb3/0x110 mm/memory.c:5357 __copy_to_user include/linux/uaccess.h:143 [inline] save_xstate_epilog arch/x86/kernel/fpu/signal.c:104 [inline] copy_fpstate_to_sigframe+0x882/0xb90 arch/x86/kernel/fpu/signal.c:217 get_sigframe arch/x86/kernel/signal.c:295 [inline] __setup_rt_frame arch/x86/kernel/signal.c:471 [inline] setup_rt_frame arch/x86/kernel/signal.c:780 [inline] handle_signal arch/x86/kernel/signal.c:824 [inline] arch_do_signal_or_restart+0x67a/0x1300 arch/x86/kernel/signal.c:869 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:0x7f04111fb927 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:00007f040f063038 EFLAGS: 00000246 RAX: 0000000000000048 RBX: 00007f0411422fa0 RCX: 00007f04111fb929 RDX: 0000200000000380 RSI: 0000000000000026 RDI: 0000000000000007 RBP: 00007f041127db39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0411422fa0 R15: 00007ffd9f872828