rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=a99c/1/0x4000000000000000 softirq=46859/46859 fqs=2 rcu: (detected by 0, t=10502 jiffies, g=41265, q=186 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 13273 Comm: syz.0.2622 Not tainted 6.14.0-rc7-syzkaller-00137-g5fc319360819 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:mark_lock+0xdb/0xc60 kernel/locking/lockdep.c:4730 Code: 5b 67 ff ff 48 ba 00 00 00 00 00 fc ff df 48 8d 78 60 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 a7 09 00 00 4c 89 ee 48 23 70 60 01 00 00 00 0f 84 1a 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c RSP: 0018:ffffc90000a28a00 EFLAGS: 00000006 RAX: ffffffff96ec8aa8 RBX: ffff88805bce53c0 RCX: 1ffffffff2dd9161 RDX: dffffc0000000000 RSI: 0000000000000200 RDI: ffffffff96ec8b08 RBP: ffffc90000a28b38 R08: 0000000000000000 R09: fffffbfff2dd8d98 R10: ffffffff96ec6cc7 R11: 0000000000000002 R12: ffff88805bce4880 R13: 0000000000000200 R14: 0000000000000009 R15: 1ffff92000145146 FS: 00007f1308f2f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2b9036 CR3: 0000000045366000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4672 [inline] __lock_acquire+0x9f1/0x3c40 kernel/locking/lockdep.c:5182 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5851 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] advance_sched+0x67f/0xc60 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1801 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1865 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1927 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:rcu_read_lock_held_common kernel/rcu/update.c:109 [inline] RIP: 0010:rcu_read_lock_sched_held+0x20/0x70 kernel/rcu/update.c:124 Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 53 bb 01 00 00 00 e8 81 dd b8 09 85 c0 75 08 89 d8 5b c3 cc cc cc cc e8 b0 ed 00 00 <84> c0 74 41 e8 77 ee 00 00 84 c0 74 38 be ff ff ff ff 48 c7 c7 80 RSP: 0018:ffffc90005327460 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bd36920 RDI: ffffffff8dab5ce8 RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff2dd8d98 R10: ffffffff96ec6cc7 R11: 0000000000000001 R12: ffff888145f81800 R13: ffff8880780ea800 R14: ffffed100f01d607 R15: ffffffff8224f1bf task_css include/linux/cgroup.h:434 [inline] mem_cgroup_from_task mm/memcontrol.c:892 [inline] get_mem_cgroup_from_mm+0x19f/0x5f0 mm/memcontrol.c:945 __mem_cgroup_charge+0x1a/0x1e0 mm/memcontrol.c:4513 mem_cgroup_charge include/linux/memcontrol.h:644 [inline] shmem_alloc_and_add_folio+0x50a/0xc10 mm/shmem.c:1912 shmem_get_folio_gfp+0x689/0x1530 mm/shmem.c:2545 shmem_fault+0x200/0xae0 mm/shmem.c:2746 __do_fault+0x10a/0x490 mm/memory.c:4989 do_read_fault mm/memory.c:5409 [inline] do_fault mm/memory.c:5543 [inline] do_pte_missing+0xecf/0x3e10 mm/memory.c:4059 handle_pte_fault mm/memory.c:5888 [inline] __handle_mm_fault+0x103c/0x2a40 mm/memory.c:6031 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6200 faultin_page mm/gup.c:1196 [inline] __get_user_pages+0x773/0x36f0 mm/gup.c:1491 populate_vma_page_range+0x27f/0x3a0 mm/gup.c:1929 __mm_populate+0x1d6/0x380 mm/gup.c:2032 mm_populate include/linux/mm.h:3392 [inline] vm_mmap_pgoff+0x352/0x440 mm/util.c:583 ksys_mmap_pgoff+0x7d/0x5c0 mm/mmap.c:607 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:89 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:82 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:82 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:0x7f130818d169 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:00007f1308f2f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f13083a5fa0 RCX: 00007f130818d169 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007f130820e2a0 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f13083a5fa0 R15: 00007ffe6e2c6268 rcu: rcu_preempt kthread starved for 10498 jiffies! g41265 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:25648 pid:18 tgid:18 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0xf43/0x5890 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6857 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2024 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2226 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 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: 13268 Comm: syz.4.2617 Not tainted 6.14.0-rc7-syzkaller-00137-g5fc319360819 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:write_comp_data+0x18/0x90 kernel/kcov.c:246 Code: 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 ff ec 49 7e 65 8b 05 00 ed 49 7e 00 01 ff 00 74 1d f6 c4 01 74 67 a9 00 00 0f 00 75 60 a9 00 00 RSP: 0018:ffffc90004877a40 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b8744a80 RCX: ffffffff81ade46a RDX: ffff8880764ba440 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: ffffed10170e8951 R13: 0000000000000001 R14: ffff8880b863fe80 R15: ffff8880b8744a88 FS: 0000555587470500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82833a7bac CR3: 00000000302a0000 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+0x4ea/0x12c0 kernel/smp.c:885 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2118 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2328 text_poke_flush arch/x86/kernel/alternative.c:2519 [inline] text_poke_flush arch/x86/kernel/alternative.c:2516 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2526 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_disable_cpuslocked+0x158/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 tracepoint_remove_func kernel/tracepoint.c:370 [inline] tracepoint_probe_unregister+0x4fd/0xd70 kernel/tracepoint.c:504 bpf_raw_tp_link_release+0x35/0x70 kernel/bpf/syscall.c:3615 bpf_link_free+0xe9/0x390 kernel/bpf/syscall.c:3137 bpf_link_put_direct kernel/bpf/syscall.c:3180 [inline] bpf_link_release+0x5d/0x80 kernel/bpf/syscall.c:3187 __fput+0x3ff/0xb70 fs/file_table.c:464 task_work_run+0x14e/0x250 kernel/task_work.c:227 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:0x7f06d238d169 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:00007ffcf0eb4e28 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000074b5d RCX: 00007f06d238d169 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f06d25a7ba0 R08: 0000000000000001 R09: 00000007f0eb511f R10: 00007f06d2200000 R11: 0000000000000246 R12: 00007f06d25a5fac R13: 00007f06d25a5fa0 R14: ffffffffffffffff R15: 00007ffcf0eb4f40