rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3646/1:b..l (detected by 1, t=10502 jiffies, g=21097, q=13) task:kworker/u4:5 state:R running task stack:23128 pid: 3646 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:643 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 0c 75 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90003147a80 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000628f5c RCX: 1ffff92000628efc RDX: dffffc0000000000 RSI: ffffffff8a8b3da0 RDI: ffffffff8ad904c0 RBP: ffffc90003147bd8 R08: dffffc0000000000 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000628f58 R13: dffffc0000000000 R14: ffffc90003147ae0 R15: 0000000000000246 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+0xc1/0x5b0 net/batman-adv/network-coding.c:723 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:287 rcu: rcu_preempt kthread starved for 10502 jiffies! g21097 f0x0 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:26144 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 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:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5935 Comm: syz.0.483 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:202 Code: 1f 84 00 00 00 00 00 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 78 08 69 0c 48 89 de 5b e9 07 f3 48 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d 44 15 82 7e 65 8b 15 45 15 82 7e 81 e2 00 RSP: 0018:ffffc90000007cb8 EFLAGS: 00000002 RAX: 000000000000c201 RBX: 0000000000000001 RCX: ffff888022178000 RDX: ffff888022178000 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: ffff888073438ae8 R08: ffffffff8881a2fe R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073438800 R13: ffff888073438b60 R14: dffffc0000000000 R15: 1803df9010000000 FS: 00007f8deeccf6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8076d83e70 CR3: 00000000747ec000 CR4: 00000000003506f0 Call Trace: rcu_read_lock include/linux/rcupdate.h:740 [inline] advance_sched+0x6f0/0x940 net/sched/sch_taprio.c:769 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 f2 3e 8c f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 87 87 19 f7 65 8b 05 08 8a c4 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002f87580 EFLAGS: 00000206 RAX: ce36a4103ff82700 RBX: 1ffff920005f0eb4 RCX: ffffffff81631ae8 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: 0000000000000001 RBP: ffffc90002f87610 R08: dffffc0000000000 R09: fffffbfff20e242e R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920005f0eb0 R14: ffffc90002f875a0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] __skb_try_recv_datagram+0x1c7/0x6a0 net/core/datagram.c:267 __unix_dgram_recvmsg+0x3c1/0x1260 net/unix/af_unix.c:2304 ____sys_recvmsg+0x286/0x530 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2692 do_recvmmsg+0x36f/0x8f0 net/socket.c:2786 __sys_recvmmsg net/socket.c:2865 [inline] __do_sys_recvmmsg net/socket.c:2888 [inline] __se_sys_recvmmsg net/socket.c:2881 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2881 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8df0877ff9 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:00007f8deeccf038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f8df0a30058 RCX: 00007f8df0877ff9 RDX: 03fffffffffffeda RSI: 00000000200000c0 RDI: 0000000000000006 RBP: 00007f8df08ea296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8df0a30058 R15: 00007ffc29faee78