rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=5ee4/1/0x4000000000000000 softirq=71583/71584 fqs=4 rcu: (detected by 0, t=10505 jiffies, g=77453, q=253 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 17803 Comm: syz.1.3127 Not tainted 6.13.0-rc7-syzkaller-00189-g595523945be0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x81/0x90 kernel/kcov.c:316 Code: 8d 42 28 4c 39 c8 77 22 89 f8 89 f6 49 ff c2 4c 89 11 48 c7 44 0a 08 05 00 00 00 48 89 44 0a 10 48 89 74 0a 18 4c 89 44 0a 20 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffc90000a18d38 EFLAGS: 00000006 RAX: 0000000000010000 RBX: 0000000000000001 RCX: ffff888024cf8000 RDX: ffff888024cf8000 RSI: 0000000000000001 RDI: 0000000000000007 RBP: ffffc90000a18ea0 R08: ffffffff818cdae6 R09: 1ffffffff2030b4e R10: dffffc0000000000 R11: fffffbfff2030b4f R12: 1ffff110170e593b R13: 0000000000000001 R14: ffff888011a74340 R15: ffff888024cf8ac8 FS: 00007f0caca3d6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002002b000 CR3: 0000000066f42000 CR4: 00000000003526f0 Call Trace: cpu_max_bits_warn include/linux/cpumask.h:135 [inline] cpumask_check include/linux/cpumask.h:142 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1117 [inline] trace_hrtimer_expire_exit include/trace/events/timer.h:306 [inline] __run_hrtimer kernel/time/hrtimer.c:1742 [inline] __hrtimer_run_queues+0x5d6/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 49 0c 0c 00 48 83 c4 08 4c 89 f7 e8 ed 39 00 00 0f 1f 44 00 00 4c 89 f7 e8 e0 48 55 0a e8 cb 89 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:ffffc90005397568 EFLAGS: 00000286 RAX: 04df413398bbc800 RBX: ffff888024cf8000 RCX: ffffffff9a378903 RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c5edf20 RBP: ffffc900053975b0 R08: ffffffff90185a77 R09: 1ffffffff2030b4e R10: dffffc0000000000 R11: fffffbfff2030b4f 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 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 rdmsr_safe_on_cpu+0x16c/0x310 arch/x86/lib/msr-smp.c:181 msr_read+0x15d/0x260 arch/x86/kernel/msr.c:66 vfs_read+0x1fc/0xb70 fs/read_write.c:563 ksys_read+0x18f/0x2b0 fs/read_write.c:708 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:0x7f0cabb85d29 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:00007f0caca3d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f0cabd75fa0 RCX: 00007f0cabb85d29 RDX: 0000000000019000 RSI: 0000000020019640 RDI: 0000000000000005 RBP: 00007f0cabc01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0cabd75fa0 R15: 00007fffdb6b2ac8 rcu: rcu_preempt kthread starved for 10485 jiffies! g77453 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: 17808 Comm: syz.8.3129 Not tainted 6.13.0-rc7-syzkaller-00189-g595523945be0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 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 c6 e6 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 71 e2 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 55 e2 0b 00 eb e4 44 RSP: 0018:ffffc90004ecf3e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170e88b9 RCX: 0000000000080000 RDX: ffffc90010729000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90004ecf5e0 R08: ffffffff81938f9a R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: dffffc0000000000 R13: ffff8880b87445c8 R14: ffff8880b863f940 R15: 0000000000000001 FS: 00007f0eb244d6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3b8ecd CR3: 0000000057d7a000 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_bp+0xb0/0x100 arch/x86/kernel/alternative.c:2551 __static_call_transform+0x51a/0x810 arch/x86/kernel/static_call.c:111 arch_static_call_transform+0x141/0x380 arch/x86/kernel/static_call.c:163 __static_call_update+0xd8/0x5e0 kernel/static_call_inline.c:147 tracepoint_update_call kernel/tracepoint.c:271 [inline] tracepoint_add_func+0x925/0xaa0 kernel/tracepoint.c:312 tracepoint_probe_register_prio_may_exist+0x122/0x190 kernel/tracepoint.c:435 bpf_raw_tp_link_attach+0x4a3/0x700 kernel/bpf/syscall.c:3981 bpf_raw_tracepoint_open+0x177/0x1f0 kernel/bpf/syscall.c:4012 __sys_bpf+0x3c0/0x810 kernel/bpf/syscall.c:5832 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5895 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:0x7f0eb1585d29 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:00007f0eb244d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f0eb1775fa0 RCX: 00007f0eb1585d29 RDX: 0000000000000018 RSI: 00000000200001c0 RDI: 0000000000000011 RBP: 00007f0eb1601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0eb1775fa0 R15: 00007ffddf92dae8