rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (2 ticks this GP) idle=b9b4/1/0x4000000000000000 softirq=160505/160505 fqs=0
rcu: (detected by 0, t=10502 jiffies, g=254773, q=208 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8630 Comm: kworker/u4:27 Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: bat_events batadv_purge_orig
RIP: 0010:find_held_lock+0xcf/0x110 kernel/locking/lockdep.c:5272
Code: 04 20 38 d0 7f 04 84 c0 75 4c 40 32 6b 21 83 e5 60 74 96 31 db 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 0f b6 14 02 <4c> 89 f0 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 11 45 89 3e 48 89
RSP: 0018:ffffc900001e0d28 EFLAGS: 00000802
RAX: dffffc0000000000 RBX: ffff88807a1cc6c0 RCX: ffffc900001e0db0
RDX: 0000000000000004 RSI: ffff8880b992b918 RDI: ffff88807a1cc6c0
RBP: 0000000000000004 R08: 0000000000000000 R09: fffffbfff1d597da
R10: ffffffff8eacbed7 R11: 0000000000000000 R12: ffff8880b992b918
R13: ffff8880b992b918 R14: ffffc900001e0db0 R15: 0000000000000003
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7befd98008 CR3: 000000000c776000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_release kernel/locking/lockdep.c:5436 [inline]
lock_release+0x1fb/0x680 kernel/locking/lockdep.c:5781
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline]
_raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194
__run_hrtimer kernel/time/hrtimer.c:1684 [inline]
__hrtimer_run_queues+0x58b/0xc10 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline]
__sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:103 [inline]
RIP: 0010:lock_release+0x14b/0x680 kernel/locking/lockdep.c:5777
Code: 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d9 04 00 00 41 8b b6 c4 0a 00 00 85 f6 0f 85 64 02 00 00 9c <8f> 04 24 fa 48 c7 c7 20 8c 6c 8a e8 f5 ff cf 08 48 89 da 83 e3 07
RSP: 0018:ffffc9001590faa8 EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff8eacf410 RCX: ffffffff81677285
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807a1cc644
RBP: 1ffff92002b21f58 R08: 0000000000000000 R09: fffffbfff1d597da
R10: ffffffff8eacbed7 R11: 0000000000000000 R12: ffff88803e2c1418
R13: 0000000000000051 R14: ffff88807a1cbb80 R15: 0000000000000000
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline]
_raw_spin_unlock_bh+0x16/0x30 kernel/locking/spinlock.c:210
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_purge_orig_ref+0xec7/0x1520 net/batman-adv/originator.c:1259
batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1272
process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600
worker_thread+0x687/0x1110 kernel/workqueue.c:2751
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g254773 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=1 timer-softirq=137007
rcu: rcu_preempt kthread starved for 10502 jiffies! g254773 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28224 pid:16 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6695
schedule+0xe7/0x1b0 kernel/sched/core.c:6771
schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167
rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613
rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
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: 8630 Comm: kworker/u4:27 Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: bat_events batadv_purge_orig
RIP: 0010:__rb_change_child include/linux/rbtree_augmented.h:204 [inline]
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:242 [inline]
RIP: 0010:rb_erase+0x771/0x1360 lib/rbtree.c:443
Code: 3c 16 00 0f 85 83 09 00 00 48 89 58 08 4c 89 eb e9 81 fc ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 c1 ea 03 80 3c 02 00 <0f> 85 ff 09 00 00 4d 85 f6 4c 89 31 0f 84 e5 fa ff ff 48 b8 00 00
RSP: 0018:ffffc900001e0d90 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffff8880b992ba50
RDX: 1ffff1101732574a RSI: ffff8880b992ba50 RDI: ffff88803035b350
RBP: ffff8880b992ba50 R08: 0000000000000006 R09: 0000000000000001
R10: ffff88803035b340 R11: 0000000000000000 R12: ffff8880b992ba58
R13: ffff88803035b340 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7befd98008 CR3: 000000000c776000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rb_erase_cached include/linux/rbtree.h:126 [inline]
timerqueue_del+0x83/0x140 lib/timerqueue.c:57
__remove_hrtimer+0x99/0x290 kernel/time/hrtimer.c:1119
__run_hrtimer kernel/time/hrtimer.c:1668 [inline]
__hrtimer_run_queues+0x55b/0xc10 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline]
__sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:103 [inline]
RIP: 0010:lock_release+0x14b/0x680 kernel/locking/lockdep.c:5777
Code: 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d9 04 00 00 41 8b b6 c4 0a 00 00 85 f6 0f 85 64 02 00 00 9c <8f> 04 24 fa 48 c7 c7 20 8c 6c 8a e8 f5 ff cf 08 48 89 da 83 e3 07
RSP: 0018:ffffc9001590faa8 EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff8eacf410 RCX: ffffffff81677285
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88807a1cc644
RBP: 1ffff92002b21f58 R08: 0000000000000000 R09: fffffbfff1d597da
R10: ffffffff8eacbed7 R11: 0000000000000000 R12: ffff88803e2c1418
R13: 0000000000000051 R14: ffff88807a1cbb80 R15: 0000000000000000
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline]
_raw_spin_unlock_bh+0x16/0x30 kernel/locking/spinlock.c:210
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_purge_orig_ref+0xec7/0x1520 net/batman-adv/originator.c:1259
batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1272
process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600
worker_thread+0x687/0x1110 kernel/workqueue.c:2751
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304