rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=5d04/1/0x4000000000000000 softirq=49778/49786 fqs=44 rcu: (detected by 1, t=10505 jiffies, g=43413, q=894 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 13533 Comm: syz.4.2192 Not tainted 6.12.0-rc6-syzkaller-00099-g7758b206117d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:trace_lock_acquire+0x8/0x1d0 include/trace/events/lock.h:24 Code: ef e8 ac 58 85 00 eb 95 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 55 41 54 <55> 53 48 83 ec 10 66 90 48 c7 c3 cc db 03 00 65 8b 1b 83 fb 07 0f RSP: 0018:ffffc90000007c60 EFLAGS: 00000086 RAX: 0000000000010002 RBX: ffffffff8495f799 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9aa0e540 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff905f590f R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f271436c6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 000000002fefa000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x2f/0xb0 kernel/locking/lockdep.c:5796 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x199/0x540 lib/debugobjects.c:708 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x25/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1708 [inline] __hrtimer_run_queues+0x903/0xae0 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1817 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:lock_is_held_type+0x107/0x150 kernel/locking/lockdep.c:5902 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 2c 35 df 74 83 f8 01 75 2d 9c 58 f6 c4 02 75 43 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 45 31 ed eb RSP: 0018:ffffc90002e5f7c0 EFLAGS: 00000296 RAX: 0000000000000046 RBX: ffff88802577d388 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8b6cd340 RDI: ffffffff8bd1b380 RBP: ffffffff8e1b82e0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802577c880 R13: 0000000000000000 R14: 00000000ffffffff R15: 0000000000000002 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0x473/0x5e0 kernel/sched/core.c:8615 __get_user_pages+0x303/0x3b50 mm/gup.c:1481 __get_user_pages_locked mm/gup.c:1751 [inline] __gup_longterm_locked+0x639/0x1b90 mm/gup.c:2490 pin_user_pages+0x13f/0x160 mm/gup.c:3561 xdp_umem_pin_pages net/xdp/xdp_umem.c:105 [inline] xdp_umem_reg net/xdp/xdp_umem.c:230 [inline] xdp_umem_create+0x73c/0x1270 net/xdp/xdp_umem.c:263 xsk_setsockopt+0x7fc/0xa10 net/xdp/xsk.c:1389 do_sock_setsockopt+0x222/0x480 net/socket.c:2334 __sys_setsockopt+0x1a4/0x270 net/socket.c:2357 __do_sys_setsockopt net/socket.c:2366 [inline] __se_sys_setsockopt net/socket.c:2363 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2363 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:0x7f271357e719 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:00007f271436c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f2713735f80 RCX: 00007f271357e719 RDX: 0000000000000004 RSI: 000000000000011b RDI: 0000000000000008 RBP: 00007f27135f139e R08: 0000000000000020 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2713735f80 R15: 00007ffde22f3d68 rcu: rcu_preempt kthread starved for 10285 jiffies! g43413 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:27408 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6782 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 13466 Comm: syz.6.2171 Not tainted 6.12.0-rc6-syzkaller-00099-g7758b206117d #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+0x458/0x1300 kernel/smp.c:884 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 8a 1b 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 a4 0c 00 00 8b 43 08 31 RSP: 0018:ffffc90002defa50 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b8646b80 RCX: ffffffff81815fec RDX: ffff8880288d2440 RSI: ffffffff81815fc6 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10170c8d71 R13: 0000000000000001 R14: ffff8880b8646b88 R15: ffff8880b8740100 FS: 000055555ea46500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5b2d40440 CR3: 00000000370b2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_flush arch/x86/kernel/alternative.c:2483 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2493 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:417 [inline] tracepoint_probe_unregister+0x4a7/0xd30 kernel/tracepoint.c:551 bpf_raw_tp_link_release+0x35/0x70 kernel/bpf/syscall.c:3479 bpf_link_free+0x12c/0x2b0 kernel/bpf/syscall.c:3005 bpf_link_put_direct kernel/bpf/syscall.c:3045 [inline] bpf_link_release+0x5d/0x80 kernel/bpf/syscall.c:3052 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:239 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:328 [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:0x7fb6ae97e719 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:00007ffee97e7538 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fb6aeb37a80 RCX: 00007fb6ae97e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fb6aeb37a80 R08: 0000000000000006 R09: 00007ffee97e782f R10: 00000000003ffb88 R11: 0000000000000246 R12: 000000000008e5b8 R13: 00007ffee97e7640 R14: 0000000000000032 R15: ffffffffffffffff