rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 1-...!: (8 ticks this GP) idle=b914/1/0x4000000000000000 softirq=123286/123289 fqs=0
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P27017/1:b..l
rcu: (detected by 0, t=10502 jiffies, g=114557, q=163 ncpus=2)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 27144 Comm: syz.9.5444 Not tainted 6.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
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:87 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:147 [inline]
RIP: 0010:lock_acquire+0x233/0x550 kernel/locking/lockdep.c:5852
Code: 7e 83 f8 01 0f 85 a3 01 00 00 49 89 de 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 f7 e8 17 a2 88 00 48 c7 44 24 60 00 00 00 00 9c <8f> 44 24 60 42 80 3c 2b 00 74 08 4c 89 f7 e8 0a a1 88 00 f6 44 24
RSP: 0018:ffffc90000a18af8 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffff9200014316c RCX: ffff888034dcc6d8
RDX: dffffc0000000000 RSI: ffffffff8c0aa8c0 RDI: ffffffff8c5ed760
RBP: ffffc90000a18c48 R08: ffffffff94270a27 R09: 1ffffffff284e144
R10: dffffc0000000000 R11: fffffbfff284e145 R12: 1ffff92000143168
R13: dffffc0000000000 R14: ffffc90000a18b60 R15: 0000000000000046
FS: 00007f5c8bf556c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c8bf12f98 CR3: 0000000098c82000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 00000000872c9164 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
__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+0xab/0xca0 net/sched/sch_taprio.c:924
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803
hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
__sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5243
Code: c9 50 e8 59 0c 0c 00 48 83 c4 08 4c 89 f7 e8 ed 39 00 00 0f 1f 44 00 00 4c 89 f7 e8 d0 a7 54 0a e8 db 9b 38 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc9000c63f1a8 EFLAGS: 00000286
RAX: 51d9d29d9ec67d00 RBX: ffff888034dcbc00 RCX: ffffffff9a377903
RDX: dffffc0000000000 RSI: ffffffff8c0a96c0 RDI: ffffffff8c5ed760
RBP: ffffc9000c63f1f0 R08: ffffffff90184ef7 R09: 1ffffffff20309de
R10: dffffc0000000000 R11: fffffbfff20309df R12: 1ffff110170e7eac
R13: dffffc0000000000 R14: ffff8880b873e740 R15: ffff8880b873f560
context_switch kernel/sched/core.c:5372 [inline]
__schedule+0x1803/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75
unix_wait_for_peer+0x250/0x340 net/unix/af_unix.c:1529
unix_dgram_sendmsg+0x127f/0x1f80 net/unix/af_unix.c:2131
sock_sendmsg_nosec net/socket.c:711 [inline]
__sock_sendmsg+0x221/0x270 net/socket.c:726
____sys_sendmsg+0x52a/0x7e0 net/socket.c:2583
___sys_sendmsg net/socket.c:2637 [inline]
__sys_sendmmsg+0x36a/0x720 net/socket.c:2726
__do_sys_sendmmsg net/socket.c:2753 [inline]
__se_sys_sendmmsg net/socket.c:2750 [inline]
__x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2750
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5c8b185d19
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:00007f5c8bf55038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f5c8b375fa0 RCX: 00007f5c8b185d19
RDX: 0000000000000651 RSI: 0000000020000000 RDI: 000000000000000b
RBP: 00007f5c8b201a20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5c8b375fa0 R15: 00007ffea57c4368
task:syz-executor state:R running task stack:20944 pid:27017 tgid:27017 ppid:27008 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:batadv_hardif_get_by_netdev+0x17d/0x4e0 net/batman-adv/hard-interface.c:72
Code: 48 8d 44 24 40 48 c1 e8 03 48 89 04 24 49 c7 c5 80 b3 79 9a 4c 89 74 24 18 49 8d 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 09 71 79 f6 4c 39 33 74 0a e8 5f 93 15 f6 e9 81
RSP: 0018:ffffc9000b5070e0 EFLAGS: 00000246
RAX: 1ffff11029c92703 RBX: ffff88814e493818 RCX: ffff88802ad83c00
RDX: 0000000000000000 RSI: ffffffff8c5ed740 RDI: ffffffff8c5ed700
RBP: ffffc9000b507188 R08: ffffffff8b89df64 R09: 1ffffffff284e110
R10: dffffc0000000000 R11: fffffbfff284e111 R12: ffff88814e493800
R13: ffffffff9a79b380 R14: ffff88803c1f4000 R15: dffffc0000000000
batadv_get_real_netdevice+0x5c/0x450 net/batman-adv/hard-interface.c:235
batadv_wifi_flags_evaluate net/batman-adv/hard-interface.c:338 [inline]
batadv_hardif_add_interface net/batman-adv/hard-interface.c:898 [inline]
batadv_hard_if_event+0x1177/0x1810 net/batman-adv/hard-interface.c:970
notifier_call_chain+0x1a5/0x3f0 kernel/notifier.c:85
call_netdevice_notifiers_extack net/core/dev.c:2034 [inline]
call_netdevice_notifiers net/core/dev.c:2048 [inline]
register_netdevice+0x167f/0x1b00 net/core/dev.c:10632
nsim_init_netdevsim drivers/net/netdevsim/netdev.c:733 [inline]
nsim_create+0x647/0x890 drivers/net/netdevsim/netdev.c:793
__nsim_dev_port_add+0x6c0/0xae0 drivers/net/netdevsim/dev.c:1393
nsim_dev_port_add_all+0x33/0xf0 drivers/net/netdevsim/dev.c:1449
nsim_drv_probe+0x85f/0xb80 drivers/net/netdevsim/dev.c:1607
really_probe+0x2b8/0xad0 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
driver_probe_device+0x50/0x430 drivers/base/dd.c:830
__device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:459
__device_attach+0x333/0x520 drivers/base/dd.c:1030
bus_probe_device+0x189/0x260 drivers/base/bus.c:534
device_add+0x856/0xbf0 drivers/base/core.c:3665
nsim_bus_dev_new drivers/net/netdevsim/bus.c:442 [inline]
new_device_store+0x3f3/0x890 drivers/net/netdevsim/bus.c:173
kernfs_fop_write_iter+0x3a0/0x500 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:586 [inline]
vfs_write+0xaeb/0xd30 fs/read_write.c:679
ksys_write+0x18f/0x2b0 fs/read_write.c:731
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f75075847cf
RSP: 002b:00007fff7ae3e760 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f75075847cf
RDX: 0000000000000003 RSI: 00007fff7ae3e7b0 RDI: 0000000000000005
RBP: 00007f7507602c51 R08: 0000000000000000 R09: 00007fff7ae3e5b7
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007fff7ae3e7b0 R14: 00007f75082a4620 R15: 0000000000000003
rcu: rcu_preempt kthread starved for 10502 jiffies! g114557 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99
rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: Stack dump where RCU GP kthread last ran:
CPU: 0 UID: 0 PID: 62 Comm: kworker/u8:4 Not tainted 6.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x19f8/0x2c60 kernel/smp.c:884
Code: 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 e5 e4 0b 00 eb e4 44
RSP: 0018:ffffc9000214f6e0 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff110170e88b9 RCX: ffff88801cb41e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000214f8e0 R08: ffffffff81938e8a R09: 1ffffffff284e110
R10: dffffc0000000000 R11: fffffbfff284e111 R12: dffffc0000000000
R13: ffff8880b87445c8 R14: ffff8880b863f940 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3c701d CR3: 000000000e736000 CR4: 00000000003526f0
Call Trace:
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2114 [inline]
text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324
text_poke_flush arch/x86/kernel/alternative.c:2515 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
static_key_enable+0x1a/0x20 kernel/jump_label.c:223
toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244