rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P24346/1:b..l P24354/1:b..l (detected by 0, t=10502 jiffies, g=145057, q=116) task:syz-executor.1 state:R running task stack:27544 pid:24354 ppid: 19169 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 preempt_schedule_notrace+0xf8/0x140 kernel/sched/core.c:6627 preempt_schedule_notrace_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 rcu_is_watching+0x72/0xa0 kernel/rcu/tree.c:1123 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xb9/0x9a0 kernel/locking/lockdep.c:5633 rcu_read_unlock include/linux/rcupdate.h:729 [inline] percpu_ref_tryget_many include/linux/percpu-refcount.h:250 [inline] percpu_ref_tryget+0xcd/0x140 include/linux/percpu-refcount.h:266 css_tryget include/linux/cgroup.h:355 [inline] get_mem_cgroup_from_objcg+0xa3/0x120 mm/memcontrol.c:2812 obj_cgroup_charge_pages+0x99/0x1d0 mm/memcontrol.c:3012 obj_cgroup_charge+0x19e/0x390 mm/memcontrol.c:3295 memcg_slab_pre_alloc_hook mm/slab.h:287 [inline] slab_pre_alloc_hook+0xa6/0xc0 mm/slab.h:497 slab_alloc_node mm/slub.c:3134 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x3f/0x280 mm/slub.c:3233 ext4_alloc_inode+0x1d/0x590 fs/ext4/super.c:1288 alloc_inode fs/inode.c:236 [inline] new_inode_pseudo+0x60/0x210 fs/inode.c:937 new_inode+0x25/0x1d0 fs/inode.c:966 __ext4_new_inode+0x35c/0x4430 fs/ext4/ialloc.c:960 ext4_symlink+0x4ac/0xe60 fs/ext4/namei.c:3377 vfs_symlink+0x2ad/0x490 fs/namei.c:4358 do_symlinkat+0x1fd/0x600 fs/namei.c:4387 __do_sys_symlinkat fs/namei.c:4404 [inline] __se_sys_symlinkat fs/namei.c:4401 [inline] __x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4401 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd11c36bbb7 RSP: 002b:00007ffe71a96588 EFLAGS: 00000206 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd11c36bbb7 RDX: 00007fd11c3b7555 RSI: 00000000ffffff9c RDI: 00007ffe71a96650 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffe71a96420 R10: 00007ffe71a962d7 R11: 0000000000000206 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe71a96650 task:modprobe state:R running task stack:25944 pid:24346 ppid: 1183 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6776 irqentry_exit+0x53/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:1118 [inline] RIP: 0010:rcu_is_watching+0x0/0xa0 kernel/rcu/tree.c:1121 Code: 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 aa 13 b0 08 41 f7 c4 00 02 00 00 75 b4 eb b3 e8 8a 13 b0 08 66 2e 0f 1f 84 00 00 00 00 00 <41> 57 41 56 53 65 ff 05 bc 9a 97 7e e8 2f 27 b0 08 89 c3 83 f8 08 RSP: 0018:ffffc900034df398 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88809415bb80 RDX: ffff88809415bb80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 000000000019ba01 R08: ffffffff818c854d R09: fffffbfff1f79621 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88809415bb80 R13: ffffffff816db390 R14: 00007fa82a12ea46 R15: 1ffff9200069be8d rcu_read_lock include/linux/rcupdate.h:697 [inline] is_bpf_text_address+0x36/0x260 kernel/bpf/core.c:717 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x94/0x100 kernel/extable.c:105 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8e/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0xf3/0x280 mm/slub.c:3233 kmem_cache_zalloc include/linux/slab.h:711 [inline] lsm_file_alloc security/security.c:574 [inline] security_file_alloc+0x24/0x120 security/security.c:1530 __alloc_file+0xc3/0x240 fs/file_table.c:106 alloc_empty_file+0x92/0x180 fs/file_table.c:150 path_openat+0xfc/0x2f20 fs/namei.c:3658 do_filp_open+0x21c/0x460 fs/namei.c:3699 do_sys_openat2+0x13b/0x500 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1238 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa82a12ea46 RSP: 002b:00007ffeee9d6128 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffeee9d6388 RCX: 00007fa82a12ea46 RDX: 0000000000080000 RSI: 00007ffeee9d61a0 RDI: 00000000ffffff9c RBP: 00007ffeee9d6190 R08: 0000000000080000 R09: 00007ffeee9d61a0 R10: 0000000000000000 R11: 0000000000000287 R12: 00007ffeee9d61a0 R13: 0000000000000008 R14: 00007ffeee9d636f R15: 00000000ffffffff rcu: rcu_preempt kthread starved for 10502 jiffies! g145057 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:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1959 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2132 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 24350 Comm: syz-executor.3 Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1d2/0x240 kernel/rcu/tree_stall.h:481 print_other_cpu_stall+0x137a/0x14d0 kernel/rcu/tree_stall.h:586 check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3888 [inline] rcu_sched_clock_irq+0x94f/0x1770 kernel/rcu/tree.c:2606 update_process_times+0x196/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x22d/0x3c0 kernel/time/tick-sched.c:1430 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 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 0c b3 0b 00 41 83 e7 01 75 07 e8 a1 af 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:ffffc90002fefa00 EFLAGS: 00000293 RAX: ffffffff817449d4 RBX: 1ffff11017367f19 RCX: ffff888076a40000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90002fefb40 R08: ffffffff817449a4 R09: fffffbfff1f79621 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880b9b3f8c8 R14: ffff8880b9a3a700 R15: 0000000000000001 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:1183 [inline] text_poke_bp_batch+0x2ad/0x830 arch/x86/kernel/alternative.c:1374 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 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:2863 bpf_link_free kernel/bpf/syscall.c:2443 [inline] bpf_link_put+0x234/0x2c0 kernel/bpf/syscall.c:2469 bpf_link_release+0x37/0x40 kernel/bpf/syscall.c:2477 __fput+0x3bf/0x890 fs/file_table.c:280 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5a43a5f12b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffea8af3930 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f5a43a5f12b RDX: 00007f5a43621600 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f5a43bce980 R08: 0000000000000000 R09: 00007f5a43621000 R10: 00007f5a43621608 R11: 0000000000000293 R12: 00000000001b3cbc R13: 00007ffea8af3a30 R14: 00007f5a43bccf80 R15: 0000000000000032