rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5229/1:b..l rcu: (detected by 0, t=10503 jiffies, g=7837, q=204 ncpus=2) task:syz-executor state:R running task stack:20312 pid:5229 tgid:5229 ppid:5226 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5270 [inline] __schedule+0x17ff/0x4ad0 kernel/sched/core.c:6639 preempt_schedule_notrace+0x100/0x140 kernel/sched/core.c:6911 preempt_schedule_notrace_thunk+0x1a/0x30 arch/x86/entry/thunk.S:13 rcu_is_watching+0x7e/0xb0 kernel/rcu/tree.c:738 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xbf/0xa30 kernel/locking/lockdep.c:5773 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] class_rcu_destructor include/linux/rcupdate.h:1161 [inline] sched_mm_cid_remote_clear_old kernel/sched/core.c:10289 [inline] task_mm_cid_work+0x4d7/0x790 kernel/sched/core.c:10349 task_work_run+0x24f/0x310 kernel/task_work.c:228 get_signal+0x16ad/0x1810 kernel/signal.c:2690 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 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:0x7f6d5316fc57 RSP: 002b:00007ffe6b8bc530 EFLAGS: 00000293 ORIG_RAX: 000000000000003d RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00007f6d5316fc57 RDX: 0000000040000001 RSI: 00007ffe6b8bc58c RDI: 00000000ffffffff RBP: 00007ffe6b8bc58c R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000013097 R14: 000000000001307c R15: 00007ffe6b8bc5e0 rcu: rcu_preempt kthread starved for 625 jiffies! g7837 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25456 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5270 [inline] __schedule+0x17ff/0x4ad0 kernel/sched/core.c:6639 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6961 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lockdep_init_map_type+0x403/0x910 kernel/locking/lockdep.c:4917 Code: 8c 00 48 ba 00 00 00 00 00 fc ff df f6 44 24 41 02 0f 85 2a 02 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 20 0e 36 e0 45 <4a> c7 04 2a 00 00 00 00 66 42 c7 44 2a 09 00 00 42 c6 44 2a 0b 00 RSP: 0018:ffffc90000167ac0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000167c0a RCX: ffffffff94f3b903 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffc90000167c09 RBP: ffffc90000167b88 R08: ffffc90000167bff R09: 0000000000000000 R10: ffffc90000167bf0 R11: fffff5200002cf80 R12: ffffc90000167be8 R13: 1ffff9200002cf5c R14: 0000000000000000 R15: ffffffff94f7e9c0 lockdep_init_map_waits include/linux/lockdep.h:135 [inline] lockdep_init_map_wait include/linux/lockdep.h:142 [inline] lockdep_init_map include/linux/lockdep.h:148 [inline] do_init_timer kernel/time/timer.c:904 [inline] init_timer_on_stack_key kernel/time/timer.c:860 [inline] schedule_timeout+0x1a5/0x310 kernel/time/timer.c:2579 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5314 Comm: syz.0.1 Not tainted 6.11.0-rc3-next-20240814-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline] RIP: 0010:lock_is_held_type+0x10e/0x190 kernel/locking/lockdep.c:5835 Code: 95 c0 31 db 44 39 f0 0f 94 c3 eb 05 bb 01 00 00 00 48 c7 c7 40 df 0a 8c e8 cf 1a 00 00 b8 ff ff ff ff 65 0f c1 05 62 96 47 74 <83> f8 01 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 RSP: 0018:ffffc90003cf7b68 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: dffffc0000000000 RDX: ffff8880789d9e00 RSI: ffffffff8c0adf40 RDI: ffffffff8c609400 RBP: 0000000000000001 R08: ffffffff81597a12 R09: ffffffff81597012 R10: 0000000000000002 R11: ffff8880789d9e00 R12: 0000000000000046 R13: ffff8880789d9e00 R14: 00000000ffffffff R15: ffff8880225e2e58 FS: 00007f9c35fee6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdb4f52cd8 CR3: 000000002bcbc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:249 [inline] __send_signal_locked+0x8f/0xdc0 kernel/signal.c:1080 do_send_sig_info kernel/signal.c:1299 [inline] group_send_sig_info+0x292/0x310 kernel/signal.c:1449 bpf_send_signal_common+0x2dd/0x430 kernel/trace/bpf_trace.c:880 ____bpf_send_signal kernel/trace/bpf_trace.c:885 [inline] bpf_send_signal+0x19/0x30 kernel/trace/bpf_trace.c:883 bpf_prog_7ba5217f62dcd359+0x41/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:1252 [inline] __bpf_prog_run include/linux/filter.h:691 [inline] bpf_prog_run include/linux/filter.h:698 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2338 [inline] bpf_trace_run2+0x2ec/0x540 kernel/trace/bpf_trace.c:2379 trace_sys_enter+0x93/0xd0 include/trace/events/syscalls.h:18 syscall_trace_enter+0xf8/0x150 kernel/entry/common.c:61 syscall_enter_from_user_mode_work include/linux/entry-common.h:168 [inline] syscall_enter_from_user_mode include/linux/entry-common.h:198 [inline] do_syscall_64+0xcc/0x230 arch/x86/entry/common.c:79 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9c35115369 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007f9c35fedb40 EFLAGS: 00000246 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f9c35315f88 RCX: 00007f9c35115369 RDX: 00007f9c35fedb40 RSI: 00007f9c35fedc70 RDI: 0000000000000011 RBP: 00007f9c35315f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9c35315f8c R13: 0000000000000000 R14: 00007ffd78607490 R15: 00007ffd78607578 sched: DL replenish lagged too much