rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=6b3c/1/0x4000000000000000 softirq=38017/38019 fqs=8 rcu: (detected by 0, t=10505 jiffies, g=34705, q=504 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 10742 Comm: syz.5.1590 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__kasan_check_write+0x0/0x20 mm/kasan/shadow.c:36 Code: 48 8b 0c 24 31 d2 e9 6f e6 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 3c e6 ff ff 66 2e RSP: 0018:ffffc90000a18c08 EFLAGS: 00000006 RAX: ffffffff89cde880 RBX: ffff88802228a000 RCX: ffff88802cba1e00 RDX: 0000000000010000 RSI: 0000000000000004 RDI: ffff88802228a080 RBP: 0000000000000000 R08: ffffffff89cde871 R09: 1ffff1100621265c R10: dffffc0000000000 R11: ffffed100621265d R12: 0000000000000000 R13: ffff88802228a000 R14: ffff88802228a080 R15: 0000000000000000 FS: 00007fc3b92366c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3021bff8 CR3: 0000000058aac000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_write include/linux/instrumented.h:82 [inline] atomic_set include/linux/atomic/atomic-instrumented.h:67 [inline] taprio_set_budgets+0x218/0x370 net/sched/sch_taprio.c:672 advance_sched+0x98d/0xca0 net/sched/sch_taprio.c:977 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59d/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+0x112/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:mas_find+0x957/0xbb0 lib/maple_tree.c:6061 Code: 3d df f5 48 39 eb 75 09 e8 d6 3a df f5 31 db eb 2e e8 cd 3a df f5 4c 89 e7 48 89 ee 31 d2 e8 a0 c2 ff ff 48 89 c3 48 8b 04 24 <42> 0f b6 04 38 84 c0 0f 85 51 01 00 00 41 c7 45 00 00 00 00 00 48 RSP: 0018:ffffc90002ea78d8 EFLAGS: 00000296 RAX: 1ffff920005d4f43 RBX: ffff888029c340f8 RCX: ffff88802cba1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffffffffffff R08: ffffffff8bc01701 R09: ffffffff8bc01587 R10: 0000000000000004 R11: ffff88802cba1e00 R12: ffffc90002ea79e0 R13: ffffc90002ea7a18 R14: dffffc0000000000 R15: dffffc0000000000 vma_next include/linux/mm.h:1020 [inline] acct_collect+0x24c/0x840 kernel/acct.c:564 do_exit+0x939/0x28e0 kernel/exit.c:917 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc3b8385d29 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:00007fc3b92360e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fc3b8575fa8 RCX: 00007fc3b8385d29 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fc3b8575fac RBP: 00007fc3b8575fa0 R08: 7fffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc3b8575fac R13: 0000000000000000 R14: 00007fffc3ca5360 R15: 00007fffc3ca5448 rcu: rcu_preempt kthread starved for 10450 jiffies! g34705 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:25880 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 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+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: 10732 Comm: syz.3.1587 Not tainted 6.13.0-rc6-syzkaller-00038-g09a0fa92e5b4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f1/0x2c60 kernel/smp.c:884 Code: 00 00 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 56 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 e5 0b 00 eb 38 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 RSP: 0018:ffffc90002ff7600 EFLAGS: 00000293 RAX: ffffffff81939f3b RBX: 1ffff110170e88e9 RCX: ffff88802620da00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002ff7800 R08: ffffffff81939f0a R09: 1ffffffff2854910 R10: dffffc0000000000 R11: fffffbfff2854911 R12: dffffc0000000000 R13: ffff8880b8744748 R14: ffff8880b863fac0 R15: 0000000000000001 FS: 000055557c1cb500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555594670808 CR3: 00000000507c2000 CR4: 0000000000350ef0 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_remove_func kernel/tracepoint.c:394 [inline] tracepoint_probe_unregister+0x80e/0xa10 kernel/tracepoint.c:504 bpf_raw_tp_link_release+0x45/0x70 kernel/bpf/syscall.c:3610 bpf_link_free+0xff/0x3a0 kernel/bpf/syscall.c:3132 bpf_link_put_direct kernel/bpf/syscall.c:3175 [inline] bpf_link_release+0x78/0x90 kernel/bpf/syscall.c:3182 __fput+0x23e/0xa50 fs/file_table.c:450 task_work_run+0x251/0x310 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+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7bc4785d29 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:00007ffc31aab348 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f7bc4977ba0 RCX: 00007f7bc4785d29 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f7bc4977ba0 R08: 00000000000000ac R09: 00007ffc31aab63f R10: 00000000003ffd30 R11: 0000000000000246 R12: 0000000000042bef R13: 00007ffc31aab450 R14: 0000000000000032 R15: ffffffffffffffff