rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=6af4/1/0x4000000000000000 softirq=61308/61308 fqs=0 rcu: (detected by 0, t=10502 jiffies, g=50413, q=262 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5811 Comm: syz-executor Not tainted 6.12.0-syzkaller-11930-g0e287d31b62b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:enqueue_hrtimer+0x15c/0x3c0 kernel/time/hrtimer.c:1079 Code: 1f 00 00 00 44 89 ee e8 02 d5 12 00 41 83 fd 1f 0f 87 b3 73 a2 09 e8 b3 d2 12 00 44 89 e9 b8 01 00 00 00 49 8d 7c 24 44 d3 e0 <48> 89 fa 41 89 c5 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 RSP: 0018:ffffc90000a18e00 EFLAGS: 00000002 RAX: 0000000000000002 RBX: ffff8880b872cb00 RCX: 0000000000000001 RDX: ffff88802f6b2440 RSI: ffffffff817bf26d RDI: ffff8880b872ca44 RBP: ffff888060854340 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000001 R11: 0000000000000008 R12: ffff8880b872ca00 R13: 0000000000000001 R14: ffff8880b872ca00 R15: ffffffff89365a00 FS: 0000555586736500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa542e756c0 CR3: 00000000617ea000 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+0x903/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:185 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x3b/0x70 kernel/kcov.c:217 Code: 75 7e a9 00 01 ff 00 48 8b 34 24 74 1d f6 c4 01 74 43 a9 00 00 0f 00 75 3c a9 00 00 f0 00 75 35 8b 82 1c 16 00 00 85 c0 74 2b <8b> 82 f8 15 00 00 83 f8 02 75 20 48 8b 8a 00 16 00 00 8b 92 fc 15 RSP: 0018:ffffc900032277c8 EFLAGS: 00000246 RAX: 0000000080000002 RBX: ffffea0001c3a6b4 RCX: ffffffff81d9b40a RDX: ffff88802f6b2440 RSI: ffffffff81d9b41f RDI: 0000000000000005 RBP: ffffea0001c3a680 R08: 0000000000000005 R09: 000000000000007f R10: 0000000000000085 R11: 0000000000000007 R12: 0000000000000008 R13: ffff888065dee660 R14: dffffc0000000000 R15: ffffea0001c3a680 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_inc include/linux/atomic/atomic-instrumented.h:435 [inline] page_ref_inc include/linux/page_ref.h:153 [inline] folio_ref_inc include/linux/page_ref.h:160 [inline] folio_get include/linux/mm.h:1455 [inline] copy_present_ptes mm/memory.c:1027 [inline] copy_pte_range mm/memory.c:1173 [inline] copy_pmd_range mm/memory.c:1261 [inline] copy_pud_range mm/memory.c:1298 [inline] copy_p4d_range mm/memory.c:1322 [inline] copy_page_range+0xfaf/0x57d0 mm/memory.c:1420 dup_mmap kernel/fork.c:751 [inline] dup_mm kernel/fork.c:1695 [inline] copy_mm kernel/fork.c:1744 [inline] copy_process+0x7e77/0x8df0 kernel/fork.c:2395 kernel_clone+0xfd/0x960 kernel/fork.c:2807 __do_sys_clone+0xba/0x100 kernel/fork.c:2950 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa542177093 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffe56697df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa542177093 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00005555867367d0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000012a19d R14: 0000000000129d9f R15: 00007ffe56697f80 rcu: rcu_preempt kthread starved for 10502 jiffies! g50413 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:28424 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 18147 Comm: syz.4.3138 Not tainted 6.12.0-syzkaller-11930-g0e287d31b62b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:246 Code: cc cc cc cc 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 4f 13 75 7e <65> 8b 05 50 13 75 7e a9 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 RSP: 0018:ffffc90003637860 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b8744a40 RCX: ffffffff8182b7cc RDX: ffff88807ba22440 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: ffffed10170e8949 R13: 0000000000000001 R14: ffff8880b8744a48 R15: ffff8880b863fe40 FS: 0000555581706500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5ab070d178 CR3: 000000006300c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x47c/0x1300 kernel/smp.c:884 on_each_cpu_cond_mask+0x40/0x90 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+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_bp+0xa3/0xd0 arch/x86/kernel/alternative.c:2551 __static_call_transform+0x34d/0x770 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x5d/0xb0 arch/x86/kernel/static_call.c:163 __static_call_update+0xee/0x660 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:271 [inline] tracepoint_remove_func kernel/tracepoint.c:394 [inline] tracepoint_probe_unregister+0xb0c/0xd70 kernel/tracepoint.c:504 bpf_raw_tp_link_release+0x35/0x70 kernel/bpf/syscall.c:3610 bpf_link_free+0xe9/0x390 kernel/bpf/syscall.c:3132 bpf_link_put_direct kernel/bpf/syscall.c:3175 [inline] bpf_link_release+0x5d/0x80 kernel/bpf/syscall.c:3182 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0a9ad80849 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:00007ffe53d65058 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f0a9af47ba0 RCX: 00007f0a9ad80849 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f0a9af47ba0 R08: 0000000000004ad4 R09: 00007ffe53d6533f R10: 00007f0a9af47ac0 R11: 0000000000000246 R12: 000000000012a51a R13: 00007f0a9af46080 R14: 0000000000000032 R15: ffffffffffffffff