rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3806/1:b..l P3028/1:b..l (detected by 0, t=10502 jiffies, g=7125, q=108) task:udevd state:R running task stack:24664 pid: 3028 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count_add+0x0/0x180 kernel/sched/core.c:5477 Code: 48 8b 0c 24 80 e1 07 80 c1 03 38 c1 7c 97 48 8b 3c 24 e8 83 b7 72 00 eb 8c e9 f2 fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 <41> 57 41 56 53 89 fb 48 c7 c0 c0 7f 86 96 48 c1 e8 03 49 bf 00 00 RSP: 0018:ffffc90002ca7858 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffff888022dafc78 RCX: ffff88807d5b5940 RDX: ffff88807d5b5940 RSI: 00000000ffffffff RDI: 0000000000000001 RBP: 00000000ffffffff R08: ffffffff81db8013 R09: fffffbfff20e2219 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888022dafbe8 R14: ffff888022dafc78 R15: ffffc90002ca7be0 __raw_spin_lock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_lock+0xe/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] fast_dput+0x177/0x290 fs/dcache.c:768 dput+0xb7/0x1a0 fs/dcache.c:880 path_put fs/namei.c:559 [inline] terminate_walk+0x33d/0x4f0 fs/namei.c:678 path_openat+0x260f/0x2f20 fs/namei.c:3743 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x4f0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f12948669a4 RSP: 002b:00007ffccc90b140 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f12948669a4 RDX: 0000000000080000 RSI: 00007ffccc90b278 RDI: 00000000ffffff9c RBP: 00007ffccc90b278 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000560442d0eb42 R14: 0000000000000001 R15: 0000000000000000 task:syz.1.35 state:R running task stack:26936 pid: 3806 ppid: 3568 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_notrace+0xf8/0x140 kernel/sched/core.c:6628 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 rcu_is_watching+0x72/0xa0 kernel/rcu/tree.c:1124 rcu_read_lock include/linux/rcupdate.h:740 [inline] percpu_ref_put_many include/linux/percpu-refcount.h:317 [inline] percpu_ref_put+0x24/0x150 include/linux/percpu-refcount.h:338 obj_cgroup_put include/linux/memcontrol.h:816 [inline] uncharge_page+0x2fd/0x400 mm/memcontrol.c:6938 __mem_cgroup_uncharge_list+0xba/0x150 mm/memcontrol.c:6984 mem_cgroup_uncharge_list include/linux/memcontrol.h:720 [inline] release_pages+0x1bb1/0x1f40 mm/swap.c:962 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x177/0x320 mm/mmu_gather.c:338 exit_mmap+0x3cd/0x670 mm/mmap.c:3188 __mmput+0x112/0x3b0 kernel/fork.c:1126 exit_mm+0x688/0x7f0 kernel/exit.c:550 do_exit+0x626/0x2480 kernel/exit.c:861 do_group_exit+0x144/0x310 kernel/exit.c:996 get_signal+0xc66/0x14e0 kernel/signal.c:2897 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa83a789ef9 RSP: 002b:00007fa838bc10e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa83a943138 RCX: 00007fa83a789ef9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa83a943138 RBP: 00007fa83a943130 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa83a94313c R13: 0000000000000000 R14: 00007ffdf3e906d0 R15: 00007ffdf3e907b8 rcu: rcu_preempt kthread starved for 10558 jiffies! g7125 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26712 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3802 Comm: syz.3.36 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xa93/0xd90 kernel/smp.c:969 Code: 04 03 84 c0 0f 85 84 00 00 00 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 7c cc 0b 00 41 83 e7 01 75 07 e8 11 c9 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc900031479e0 EFLAGS: 00000293 RAX: ffffffff81749114 RBX: 1ffff11017208541 RCX: ffff88807f1ad940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003147b20 R08: ffffffff817490e4 R09: fffffbfff20e2219 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8880b9042a08 R14: ffff8880b913b380 R15: 0000000000000001 FS: 0000555576d60500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000060c50000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1207 [inline] text_poke_bp_batch+0x2b4/0x930 arch/x86/kernel/alternative.c:1407 text_poke_flush arch/x86/kernel/alternative.c:1598 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1605 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xca/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x6e6/0x980 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x5f/0x80 kernel/bpf/syscall.c:2900 bpf_link_free kernel/bpf/syscall.c:2471 [inline] bpf_link_put+0x234/0x2c0 kernel/bpf/syscall.c:2497 bpf_link_release+0x37/0x40 kernel/bpf/syscall.c:2505 __fput+0x3fe/0x8e0 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc05633cef9 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:00007ffe88a3ef48 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fc0564f7a80 RCX: 00007fc05633cef9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc0564f7a80 R08: 0000000000000006 R09: 00007ffe88a3f23f R10: 00000000003fee24 R11: 0000000000000246 R12: 00000000000120b5 R13: 00007ffe88a3f050 R14: 0000000000000032 R15: ffffffffffffffff