rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (8 ticks this GP) idle=5334/1/0x4000000000000000 softirq=21840/21842 fqs=0
rcu: (detected by 1, t=10505 jiffies, g=24985, q=425 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 7849 Comm: syz.4.450 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:debug_spin_lock_after kernel/locking/spinlock_debug.c:95 [inline]
RIP: 0010:do_raw_spin_lock+0x19e/0x370 kernel/locking/spinlock_debug.c:118
Code: 00 65 8b 1d 70 c1 92 7e 41 0f b6 04 17 84 c0 0f 85 90 01 00 00 48 8b 44 24 18 89 18 48 8b 44 24 20 80 3c 10 00 48 8b 5c 24 30 <74> 12 48 89 df e8 18 3c 8a 00 48 ba 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffffc90000007ac0 EFLAGS: 00000046
RAX: 1ffffffff2948826 RBX: ffffffff94a44130 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90000007b20
RBP: ffffc90000007b90 R08: 0000000000000003 R09: fffff52000000f64
R10: dffffc0000000000 R11: fffff52000000f64 R12: ffffffff94a44120
R13: 1ffff92000000f64 R14: ffffc90000007b20 R15: 1ffffffff2948825
FS: 00007f64b00f26c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020039000 CR3: 000000006474e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0xe1/0x120 kernel/locking/spinlock.c:162
debug_object_deactivate+0x158/0x390 lib/debugobjects.c:764
debug_hrtimer_deactivate kernel/time/hrtimer.c:428 [inline]
debug_deactivate+0x1b/0x220 kernel/time/hrtimer.c:484
__run_hrtimer kernel/time/hrtimer.c:1657 [inline]
__hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1753
hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__outw arch/x86/include/asm/shared/io.h:23 [inline]
RIP: 0010:iowrite16+0x37/0x90 lib/iomap.c:213
Code: da db fc 48 81 fb 00 00 04 00 72 0a e8 62 da db fc 66 89 2b eb 59 48 81 fb 01 00 01 00 72 0d e8 4f da db fc 89 e8 89 da 66 ef 43 8b 2d d1 e8 ec 09 31 ff 89 ee e8 78 de db fc 85 ed 74 2b e8
RSP: 0018:ffffc90004297928 EFLAGS: 00000283
RAX: 0000000000000000 RBX: 000000000001c0b0 RCX: 0000000000040000
RDX: 000000000001c0b0 RSI: 0000000000006348 RDI: 0000000000006349
RBP: 0000000000000000 R08: ffffffff8529b4c0 R09: ffff88801fa0d998
R10: dffffc0000000000 R11: ffffffff852b0bd0 R12: dffffc0000000000
R13: 0000000000009215 R14: dffffc0000000000 R15: ffff88801ef11c00
vp_notify+0x57/0x80 drivers/virtio/virtio_pci_common.c:45
virtqueue_notify drivers/virtio/virtio_ring.c:2370 [inline]
virtqueue_kick+0x39b/0x5c0 drivers/virtio/virtio_ring.c:2393
request_entropy drivers/char/hw_random/virtio-rng.c:63 [inline]
copy_data+0x237/0x370 drivers/char/hw_random/virtio-rng.c:74
virtio_read+0xcb/0x200 drivers/char/hw_random/virtio-rng.c:92
rng_get_data drivers/char/hw_random/core.c:185 [inline]
rng_dev_read+0x248/0x6d0 drivers/char/hw_random/core.c:223
do_loop_readv_writev fs/read_write.c:761 [inline]
vfs_readv+0x6c2/0xa90 fs/read_write.c:934
do_preadv fs/read_write.c:1049 [inline]
__do_sys_preadv fs/read_write.c:1099 [inline]
__se_sys_preadv fs/read_write.c:1094 [inline]
__x64_sys_preadv+0x1c7/0x2d0 fs/read_write.c:1094
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:0x7f64af375bd9
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:00007f64b00f2048 EFLAGS: 00000246 ORIG_RAX: 0000000000000127
RAX: ffffffffffffffda RBX: 00007f64af503f60 RCX: 00007f64af375bd9
RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 00007f64af3e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f64af503f60 R15: 00007ffcf1105a18
rcu: rcu_preempt kthread starved for 10505 jiffies! g24985 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25328 pid:17 tgid:17 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5239 [inline]
__schedule+0x1800/0x4a60 kernel/sched/core.c:6603
__schedule_loop kernel/sched/core.c:6680 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6695
schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581
rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034
rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
rcu: Stack dump where RCU GP kthread last ran:
CPU: 1 UID: 0 PID: 5272 Comm: kworker/u8:15 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline]
RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:856
Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 89 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 34 10 0c 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 18 10
RSP: 0018:ffffc900045a7700 EFLAGS: 00000293
RAX: ffffffff8187bad8 RBX: 1ffff11017288c61 RCX: ffff88801a77da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900045a78e0 R08: ffffffff8187baa7 R09: 1ffffffff1f5ffad
R10: dffffc0000000000 R11: fffffbfff1f5ffae R12: dffffc0000000000
R13: ffff8880b9446308 R14: ffff8880b953fb80 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffbc7f6ff8 CR3: 000000000e134000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023
on_each_cpu include/linux/smp.h:71 [inline]
text_poke_sync arch/x86/kernel/alternative.c:2085 [inline]
text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295
text_poke_flush arch/x86/kernel/alternative.c:2486 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493
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+0xb5/0x250 mm/kfence/core.c:833
process_one_work kernel/workqueue.c:3231 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244