rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P9388/1:b..l (detected by 1, t=10502 jiffies, g=78845, q=969) task:kworker/u4:11 state:R running task stack:20152 pid: 9388 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet 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:__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:ffffc90003e97a58 EFLAGS: 00000202 RAX: 0000000000008401 RBX: 0000000000000001 RCX: ffff888044003b80 RDX: ffff888044003b80 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: ffffc90003e97b98 R08: ffffffff8a0c79c9 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888064a2a800 R13: ffff88807e0e3300 R14: ffff888047c85180 R15: dffffc0000000000 rcu_read_lock include/linux/rcupdate.h:740 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline] batadv_iv_ogm_schedule+0x44b/0x1000 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 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 10461 jiffies! g78845 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:27064 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: 11532 Comm: syz.3.2635 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:perf_trace_lock_acquire+0x6/0x4a0 include/trace/events/lock.h:13 Code: 38 c1 0f 8c 21 ff ff ff e8 27 d6 67 00 e9 17 ff ff ff e8 8d fe d1 08 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 55 48 89 e5 41 57 <41> 56 41 55 41 54 53 48 83 e4 e0 48 81 ec e0 00 00 00 44 89 44 24 RSP: 0000:ffffc90000006f38 EFLAGS: 00000046 RAX: 1ffff11009566273 RBX: ffff88804ab31398 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8c932348 RDI: ffffffff8c7eea60 RBP: ffffc90000006f40 R08: 0000000000000002 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000df4 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f3ab2bfc6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ca16ff8 CR3: 00000000683d2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x4c6/0x4f0 kernel/locking/lockdep.c:5594 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:103 ktime_get_update_offsets_now+0x38/0x420 kernel/time/timekeeping.c:2300 hrtimer_update_base kernel/time/hrtimer.c:631 [inline] hrtimer_interrupt+0x12f/0x980 kernel/time/hrtimer.c:1796 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+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5ba/0xc40 kernel/locking/qspinlock.c:508 Code: 00 00 49 89 dc c6 03 00 48 8b 44 24 10 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 c3 74 5e 41 0f b6 44 15 00 84 c0 75 36 41 80 3f 00 75 ea 4c 89 RSP: 0000:ffffc900000073e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 00000000ffffaf8f RCX: 1ffffffff1b66793 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: ffffffff8db33c9e RBP: ffffc900000074d8 R08: dffffc0000000000 R09: fffffbfff1b66794 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b903b114 R13: 1ffffffff1b66793 R14: 1ffff11017200001 R15: ffffffff8db33c9c pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath+0x42/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] queued_write_lock_slowpath+0x335/0x440 kernel/locking/qrwlock.c:66 queued_write_lock include/asm-generic/qrwlock.h:97 [inline] do_raw_write_lock+0x38b/0x4e0 kernel/locking/spinlock_debug.c:210 ___neigh_create+0xe65/0x2220 net/core/neighbour.c:625 ip6_finish_output2+0x11c5/0x15a0 net/ipv6/ip6_output.c:127 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xae0/0x13c0 net/ipv6/ndisc.c:511 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3959 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6777 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 99 bd 1a f7 e8 f4 2c 4a f7 fb bf 01 00 00 00 a9 b3 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 c9 76 8d f7 48 RSP: 0000:ffffc900044d7da0 EFLAGS: 00000286 RAX: 11f21386e31ea500 RBX: 1ffff9200089afbc RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: 0000000000000001 RBP: ffffc900044d7e50 R08: ffffffff8186db50 R09: ffffffff8f677008 R10: ffffffff8f677018 R11: ffffffff8f677010 R12: 1ffff9200089afb4 R13: 1ffff9200089afb8 R14: ffffc900044d7dc0 R15: dffffc0000000000 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:exit_to_user_mode_loop+0x3d/0x130 kernel/entry/common.c:168 Code: 49 89 fe eb 1c e8 33 b3 c6 08 65 48 8b 05 cb c1 94 7e 48 8b 18 f7 c3 0e 30 02 00 0f 84 e6 00 00 00 e8 17 2d 19 00 fb f6 c3 08 <74> 05 e8 7c f9 ce 08 f7 c3 00 10 00 00 74 08 4c 89 f7 e8 fc cf 38 RSP: 0000:ffffc900044d7f10 EFLAGS: 00000202 RAX: 11f21386e31ea500 RBX: 0000000000000008 RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0 RBP: 0000000000000000 R08: ffffffff8186db50 R09: ffffffff8f677008 R10: ffffffff8f677018 R11: ffffffff8f677010 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc900044d7f58 R15: ffff888040c81dc0 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0033:0x7f3ab4783eff Code: 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 83 c8 ff c3 66 2e RSP: 002b:00007f3ab2bfc038 EFLAGS: 00000202 RAX: fffffffffffffff2 RBX: 00007f3ab493bf80 RCX: 00007f3ab4783ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f3ab47f6b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3ab493bf80 R15: 00007ffd9a8fe218