rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=017c/1/0x4000000000000000 softirq=15358/15358 fqs=2 rcu: (detected by 0, t=10502 jiffies, g=21569, q=269 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 6599 Comm: syz.3.350 Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1658 [inline] RIP: 0010:__hrtimer_run_queues+0x308/0xd50 kernel/time/hrtimer.c:1753 Code: c6 e8 5c bd 12 00 85 db 0f 84 b3 04 00 00 e8 0f b9 12 00 eb 05 e8 08 b9 12 00 48 8b 5c 24 20 4c 89 f7 e8 bb 32 00 00 48 89 d8 <48> c1 e8 03 48 89 44 24 68 42 80 3c 28 00 74 08 48 89 df e8 90 f3 RSP: 0018:ffffc90000a18d60 EFLAGS: 00000046 RAX: ffff8880b932c9c8 RBX: ffff8880b932c9c8 RCX: ffff88805fadbc00 RDX: 0000000080010002 RSI: ffffffff8c605be0 RDI: ffffffff8c605ba0 RBP: ffffc90000a18ea8 R08: ffffffff8180e0b3 R09: 1ffffffff202f535 R10: dffffc0000000000 R11: fffffbfff202f536 R12: 1ffff1101726593b R13: dffffc0000000000 R14: ffff88805e8b2340 R15: ffff8880b932c980 FS: 00007ffa788d46c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3271aff8 CR3: 000000002ea2c000 CR4: 0000000000350ef0 Call Trace: 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+0x112/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:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000d3571e8 EFLAGS: 00000206 RAX: 32280bfcf31ba700 RBX: 0000000000000000 RCX: ffff88805fadbc00 RDX: ffff88805fadbc00 RSI: ffffffff8c0ae6e0 RDI: ffffffff8c605c00 RBP: 0000000000000005 R08: ffffffff81c99135 R09: 1ffffd400035f7e6 R10: dffffc0000000000 R11: fffff9400035f7e7 R12: 0000000000000246 R13: ffff88805fadbc00 R14: 00000000ffffffff R15: ffff88805fd7be88 lock_is_held include/linux/lockdep.h:249 [inline] xa_entry include/linux/xarray.h:1220 [inline] xas_next_entry+0x1ea/0x3d0 include/linux/xarray.h:1712 next_uptodate_folio+0x29/0xa40 mm/filemap.c:3464 filemap_map_pages+0x1338/0x1e70 mm/filemap.c:3653 do_fault_around mm/memory.c:5019 [inline] do_read_fault mm/memory.c:5052 [inline] do_fault mm/memory.c:5191 [inline] do_pte_missing mm/memory.c:3947 [inline] handle_pte_fault+0x39ac/0x6eb0 mm/memory.c:5522 __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0x1029/0x1980 mm/memory.c:5833 faultin_page mm/gup.c:1194 [inline] __get_user_pages+0x6ec/0x16a0 mm/gup.c:1493 populate_vma_page_range+0x264/0x330 mm/gup.c:1932 __mm_populate+0x27a/0x460 mm/gup.c:2035 mm_populate include/linux/mm.h:3415 [inline] vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593 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:0x7ffa77b779f9 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:00007ffa788d4048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffa77d05f80 RCX: 00007ffa77b779f9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007ffa77be58ee R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ffa77d05f80 R15: 00007ffd772126a8 rcu: rcu_preempt kthread starved for 10495 jiffies! g21569 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 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+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 2892 Comm: kworker/u8:9 Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_pc+0x3a/0x70 kernel/kcov.c:207 Code: 00 65 8b 15 c0 70 70 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 <75> 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 RSP: 0018:ffffc90009bb76f8 EFLAGS: 00000293 RAX: ffffffff81875648 RBX: 1ffff110172688f9 RCX: ffff88802b813c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90009bb78e0 R08: ffffffff81875617 R09: 1ffffffff26e5300 R10: dffffc0000000000 R11: fffffbfff26e5301 R12: dffffc0000000000 R13: ffff8880b93447c8 R14: ffff8880b923fb80 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559db9c9e950 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: csd_lock_wait kernel/smp.c:312 [inline] smp_call_function_many_cond+0x1878/0x29d0 kernel/smp.c:856 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+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244