rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 0-...!: (0 ticks this GP) idle=5b4c/1/0x4000000000000000 softirq=44514/44514 fqs=0
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12347/1:b..l
rcu: (detected by 1, t=10502 jiffies, g=46993, q=84 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 12333 Comm: syz.2.1706 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:enqueue_hrtimer+0x12/0x3c0 kernel/time/hrtimer.c:1075
Code: 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 41 57 41 56 41 55 41 54 53 89 d5 49 89 f5 49 89 fe <49> bc 00 00 00 00 00 fc ff df e8 bf 74 12 00 4c 89 f7 48 c7 c6 e0
RSP: 0018:ffffc90000007d08 EFLAGS: 00000046
RAX: ffffffff81833f5c RBX: 0000000000000000 RCX: ffff888027635a00
RDX: 0000000000000000 RSI: ffff8880b862c980 RDI: ffff888022ec0340
RBP: 0000000000000000 R08: ffffffff81833f52 R09: fffff52000000f84
R10: dffffc0000000000 R11: fffff52000000f84 R12: 1ffff110170c593b
R13: ffff8880b862c980 R14: ffff888022ec0340 R15: ffff8880b862c880
FS: 00007f8a45f4d6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8a45f2c000 CR3: 0000000057ea4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__run_hrtimer kernel/time/hrtimer.c:1756 [inline]
__hrtimer_run_queues+0x6cb/0xd50 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:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853
Code: 2b 00 74 08 4c 89 f7 e8 2a 7f 8c 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90004636d80 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff920008c6dbc RCX: ffff8880276364d8
RDX: dffffc0000000000 RSI: ffffffff8c0aea80 RDI: ffffffff8c5fa9e0
RBP: ffffc90004636ec8 R08: ffffffff942b8887 R09: 1ffffffff2857110
R10: dffffc0000000000 R11: fffffbfff2857111 R12: 1ffff920008c6db8
R13: dffffc0000000000 R14: ffffc90004636de0 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
percpu_ref_get_many+0x36/0x140 include/linux/percpu-refcount.h:202
percpu_ref_get include/linux/percpu-refcount.h:222 [inline]
obj_cgroup_get include/linux/memcontrol.h:768 [inline]
__memcg_kmem_charge_page+0xdb/0x1d0 mm/memcontrol.c:2675
__alloc_pages_noprof+0x2c9/0x710 mm/page_alloc.c:4768
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
pagetable_alloc_noprof include/linux/mm.h:2897 [inline]
__pte_alloc_one_noprof include/asm-generic/pgalloc.h:70 [inline]
pte_alloc_one+0x8f/0x610 arch/x86/mm/pgtable.c:33
__pte_alloc+0x79/0x3c0 mm/memory.c:446
copy_pte_range mm/memory.c:1106 [inline]
copy_pmd_range+0x7696/0x7eb0 mm/memory.c:1261
copy_pud_range mm/memory.c:1298 [inline]
copy_p4d_range mm/memory.c:1322 [inline]
copy_page_range+0x99f/0xe90 mm/memory.c:1420
dup_mmap kernel/fork.c:745 [inline]
dup_mm kernel/fork.c:1675 [inline]
copy_mm+0x1117/0x1e80 kernel/fork.c:1724
copy_process+0x1845/0x3d50 kernel/fork.c:2375
kernel_clone+0x223/0x880 kernel/fork.c:2787
__do_sys_clone kernel/fork.c:2930 [inline]
__se_sys_clone kernel/fork.c:2914 [inline]
__x64_sys_clone+0x258/0x2a0 kernel/fork.c:2914
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:0x7f8a4517e819
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:00007f8a45f4cfe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f8a45335fa0 RCX: 00007f8a4517e819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f8a451f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8a45335fa0 R15: 00007ffec3b29e68
task:syz.0.1711 state:R running task stack:22784 pid:12347 tgid:12347 ppid:5842 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6935
preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6959
preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12
__raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline]
_raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
insert_page mm/memory.c:2094 [inline]
vm_insert_page+0x4ec/0x710 mm/memory.c:2243
kcov_mmap+0xd7/0x140 kernel/kcov.c:506
call_mmap include/linux/fs.h:2183 [inline]
mmap_file mm/internal.h:124 [inline]
__mmap_new_file_vma mm/vma.c:2291 [inline]
__mmap_new_vma mm/vma.c:2355 [inline]
__mmap_region+0x2204/0x2cd0 mm/vma.c:2456
mmap_region+0x226/0x2c0 mm/mmap.c:1347
do_mmap+0x8f0/0x1000 mm/mmap.c:496
vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588
ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542
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:0x7fead317e853
RSP: 002b:00007ffe1cf20118 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fead33362d8 RCX: 00007fead317e853
RDX: 0000000000000003 RSI: 0000000000400000 RDI: 00007fead0bf6000
RBP: 00007fead3336240 R08: 00000000000000db R09: 0000000000000000
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000003
R13: 00007fead3336240 R14: 0000000000000003 R15: 00000000000012e9
rcu: rcu_preempt kthread starved for 10502 jiffies! g46993 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:25040 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: 1 UID: 0 PID: 12352 Comm: syz.1.1709 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0x19f3/0x2ca0 kernel/smp.c:884
Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 a6 e8 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 51 e4 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 35 e4
RSP: 0018:ffffc9000b8af940 EFLAGS: 00000246
RAX: ffffffff8189fb8b RBX: 1ffff110170c8c65 RCX: 0000000000080000
RDX: ffffc9000d59c000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc9000b8afb40 R08: ffffffff8189fb5a R09: 1ffffffff2857110
R10: dffffc0000000000 R11: fffffbfff2857111 R12: dffffc0000000000
R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000
FS: 00007f7b043a96c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7b04386fe0 CR3: 000000002dfca000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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_slow_inc_cpuslocked+0x80/0xf0 kernel/jump_label.c:168
static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191
kvm_create_vm virt/kvm/kvm_main.c:1205 [inline]
kvm_dev_ioctl_create_vm virt/kvm/kvm_main.c:5353 [inline]
kvm_dev_ioctl+0x1855/0x2460 virt/kvm/kvm_main.c:5395
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892
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:0x7f7b0357e819
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:00007f7b043a9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7b03736160 RCX: 00007f7b0357e819
RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 000000000000000b
RBP: 00007f7b035f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7b03736160 R15: 00007ffc1128ce08