rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (1 ticks this GP) idle=423c/1/0x4000000000000000 softirq=202776/202776 fqs=8
rcu: (detected by 0, t=10502 jiffies, g=340553, q=494 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 15008 Comm: kworker/u4:22 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_iv_send_outstanding_bat_ogm_packet
RIP: 0010:mark_lock+0x38/0x1950 kernel/locking/lockdep.c:4646
Code: ba 00 00 00 00 00 fc ff df 41 54 53 48 83 e4 f0 48 81 ec 40 01 00 00 48 8d 44 24 40 48 89 7c 24 30 48 c7 44 24 40 b3 8a b5 41 <48> c1 e8 03 48 c7 44 24 48 30 4b 17 8c 49 89 c6 48 01 d0 48 c7 44
RSP: 0018:ffffc900001e09a0 EFLAGS: 00000086
RAX: ffffc900001e09e0 RBX: 0000000000000ad7 RCX: 000000000000004a
RDX: dffffc0000000000 RSI: ffff88803b53c6e8 RDI: ffff88803b53bb80
RBP: ffffc900001e0b10 R08: dffffc0000000000 R09: fffffbfff22f63fb
R10: ffffffff917b1fdf R11: 000000000000004e R12: ffff88803b53c70a
R13: 0000000000000000 R14: ffff88803b53c6c0 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30122000 CR3: 000000001eada000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_usage kernel/locking/lockdep.c:4571 [inline]
__lock_acquire+0x163e/0x5de0 kernel/locking/lockdep.c:5098
lock_acquire kernel/locking/lockdep.c:5761 [inline]
lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
advance_sched+0xd5/0xc60 net/sched/sch_taprio.c:935
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x203/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:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5729
Code: c1 05 05 07 9b 7e 83 f8 01 0f 85 b0 02 00 00 9c 58 f6 c4 02 0f 85 9b 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90014257a98 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff9200284af55 RCX: 0000000000000001
RDX: 1ffff110076a78c8 RSI: ffffffff8a6c8c60 RDI: ffffffff8ac88640
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff22f63d0
R10: ffffffff917b1e87 R11: 000000000000004e R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8c9a84a0 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
rcu_read_lock include/linux/rcupdate.h:749 [inline]
batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline]
batadv_iv_ogm_schedule_buff+0x5ba/0x1510 net/batman-adv/bat_iv_ogm.c:825
batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:868 [inline]
batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:861 [inline]
batadv_iv_send_outstanding_bat_ogm_packet+0x31e/0x8c0 net/batman-adv/bat_iv_ogm.c:1712
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 starved for 6463 jiffies! g340553 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:27152 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:
CPU: 0 PID: 15007 Comm: kworker/u4:21 Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline]
RIP: 0010:smp_call_function_many_cond+0x4d6/0x1570 kernel/smp.c:844
Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 9c 62 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31
RSP: 0018:ffffc9001436f938 EFLAGS: 00000293
RAX: 0000000000000000 RBX: ffff8880b99417c0 RCX: 0000000000000000
RDX: ffff8880196d0000 RSI: ffffffff817b24e4 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10173282f9
R13: 0000000000000001 R14: ffff8880b983d600 R15: ffff8880b99417c8
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6687f75f00 CR3: 000000000c776000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:1998 [inline]
text_poke_bp_batch+0x46b/0x780 arch/x86/kernel/alternative.c:2208
text_poke_flush arch/x86/kernel/alternative.c:2399 [inline]
text_poke_flush arch/x86/kernel/alternative.c:2396 [inline]
text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2406
arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146
jump_label_update+0x32e/0x410 kernel/jump_label.c:829
static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205
static_key_enable+0x1a/0x20 kernel/jump_label.c:218
toggle_allocation_gate mm/kfence/core.c:831 [inline]
toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:823
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