rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (5 ticks this GP) idle=b90c/1/0x4000000000000000 softirq=71940/71942 fqs=5 rcu: (detected by 1, t=10505 jiffies, g=69165, q=235 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 17367 Comm: syz.1.3004 Not tainted 6.12.0-syzkaller-09435-g2c22dc1ee3a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:mark_lock+0x14d/0x360 kernel/locking/lockdep.c:4770 Code: 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 da 09 8c 00 41 bc 01 00 00 00 44 85 33 74 16 44 89 e0 48 83 c4 10 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 cc cc cc cc e8 c4 34 ff ff 85 c0 0f 84 3d 01 00 RSP: 0018:ffffc900000078d0 EFLAGS: 00000086 RAX: 0000000000000001 RBX: 1ffff11005fc0165 RCX: ffffffff81718f6a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942e9880 RBP: 0000000000000000 R08: ffffffff942e9887 R09: 1ffffffff285d310 R10: dffffc0000000000 R11: fffffbfff285d311 R12: ffff88802fe00ac4 R13: ffff88802fe00000 R14: 0000000000000001 R15: ffff88802fe00b08 FS: 00007f38bf5746c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c381632 CR3: 00000000283d2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4635 [inline] __lock_acquire+0xbc3/0x2100 kernel/locking/lockdep.c:5180 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x17f/0x580 lib/debugobjects.c:818 debug_hrtimer_activate kernel/time/hrtimer.c:428 [inline] debug_activate kernel/time/hrtimer.c:469 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1076 __run_hrtimer kernel/time/hrtimer.c:1756 [inline] __hrtimer_run_queues+0x6cb/0xd50 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+0x110/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:lock_is_held_type+0x13b/0x190 Code: 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 42 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000c1674f8 EFLAGS: 00000206 RAX: 0e9cdc3846695300 RBX: 0000000000000000 RCX: ffff88802fe00000 RDX: 0000000000000000 RSI: ffffffff8c0aea80 RDI: ffffffff8c6076a0 RBP: ffffc9000c167648 R08: ffffffff82182f14 R09: 1ffffffff203a186 R10: dffffc0000000000 R11: fffffbfff203a187 R12: 0000000000000246 R13: ffff88802fe00000 R14: 00000000ffffffff R15: ffffffff8e93c580 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0xa5/0x780 kernel/sched/core.c:8720 pick_link+0x43f/0xd50 fs/namei.c:1894 step_into+0xca9/0x1080 fs/namei.c:1982 walk_component fs/namei.c:2118 [inline] link_path_walk+0x7b7/0xea0 fs/namei.c:2477 path_openat+0x266/0x3590 fs/namei.c:3983 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f38be77d1b0 Code: 48 89 44 24 20 75 93 44 89 54 24 0c e8 19 8f 02 00 44 8b 54 24 0c 89 da 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 89 44 24 0c e8 6c 8f 02 00 8b 44 RSP: 002b:00007f38bf573f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f38be77d1b0 RDX: 0000000000000002 RSI: 00007f38bf573fa0 RDI: 00000000ffffff9c RBP: 00007f38bf573fa0 R08: 0000000000000000 R09: 00007f38bf573cd5 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f38be936080 R15: 00007ffce7c13d58 rcu: rcu_preempt kthread starved for 10480 jiffies! g69165 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:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 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+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: CPU: 1 UID: 0 PID: 17370 Comm: syz.8.3005 Not tainted 6.12.0-syzkaller-09435-g2c22dc1ee3a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1a04/0x2ca0 kernel/smp.c:884 Code: 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 e1 e5 0b 00 eb 38 f3 90 42 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 <74> 1e e8 c5 e5 0b 00 eb e4 44 89 e9 80 e1 07 80 c1 03 38 c1 7c e2 RSP: 0018:ffffc9000c297960 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff110170c8c65 RCX: 0000000000080000 RDX: ffffc9000de89000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000c297b60 R08: ffffffff8189f6da R09: 1ffffffff285d310 R10: dffffc0000000000 R11: fffffbfff285d311 R12: dffffc0000000000 R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000 FS: 00007fbaa4cf26c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3031fffc CR3: 0000000033554000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_slow_inc_cpuslocked+0x80/0xf0 kernel/jump_label.c:168 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191 bpf_enable_runtime_stats kernel/bpf/syscall.c:5621 [inline] bpf_enable_stats+0xfe/0x140 kernel/bpf/syscall.c:5640 __sys_bpf+0x75b/0x810 kernel/bpf/syscall.c:5873 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5895 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbaa3f7e819 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:00007fbaa4cf2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fbaa4135fa0 RCX: 00007fbaa3f7e819 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 00007fbaa3ff175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbaa4135fa0 R15: 00007ffce22e0bd8