rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=b8cc/1/0x4000000000000000 softirq=73574/73575 fqs=5 rcu: (detected by 0, t=10502 jiffies, g=76077, q=335 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 17886 Comm: syz.3.3584 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:task_irq_context kernel/locking/lockdep.c:4679 [inline] RIP: 0010:__lock_acquire+0x33d/0x3c40 kernel/locking/lockdep.c:5163 Code: 03 80 3c 02 00 0f 85 5f 2b 00 00 48 8b 44 24 10 49 8d b5 c4 0a 00 00 45 31 e4 48 89 f2 49 89 47 18 65 8b 05 4d 1b 8c 7e 85 c0 <48> 89 74 24 40 48 b8 00 00 00 00 00 fc ff df 41 0f 95 c4 48 c1 ea RSP: 0018:ffffc90000a18af0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888037512f04 RSI: ffff888037512f04 RDI: ffff888037512f50 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888037512440 R14: 0000000000000000 R15: ffff888037512f48 FS: 00007f894dd926c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f00fff8 CR3: 000000002786e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __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_deactivate+0x13b/0x370 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:433 [inline] debug_deactivate kernel/time/hrtimer.c:475 [inline] __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x47c/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 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_release+0x3e5/0x6f0 kernel/locking/lockdep.c:5857 Code: 7e 83 f8 01 0f 85 fe 01 00 00 9c 58 f6 c4 02 0f 85 e9 01 00 00 48 f7 04 24 00 02 00 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 c7 43 08 00 00 00 00 48 8b 84 24 88 RSP: 0018:ffffc9000476f710 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920008edee4 RCX: ffffc9000476f760 RDX: 1ffff11006ea25e2 RSI: ffffffff8b6cdb40 RDI: ffffffff8bd1b4a0 RBP: ffffffffffffffff R08: 0000000000000000 R09: fffffbfff20be07a R10: ffffffff905f03d7 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: ffff888037512f18 R15: ffff888037512440 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] unix_wait_for_peer+0x23f/0x280 net/unix/af_unix.c:1526 unix_dgram_sendmsg+0x180f/0x19e0 net/unix/af_unix.c:2131 sock_sendmsg_nosec net/socket.c:711 [inline] __sock_sendmsg net/socket.c:726 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2583 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2637 __sys_sendmmsg+0x201/0x420 net/socket.c:2726 __do_sys_sendmmsg net/socket.c:2753 [inline] __se_sys_sendmmsg net/socket.c:2750 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2750 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:0x7f894cf7ff19 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:00007f894dd92058 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f894d145fa0 RCX: 00007f894cf7ff19 RDX: 0400000000000041 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007f894cff3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f894d145fa0 R15: 00007fff331be4b8 rcu: rcu_preempt kthread starved for 10492 jiffies! g76077 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:27744 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 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: 0 UID: 0 PID: 17913 Comm: syz.0.3590 Not tainted 6.13.0-rc1-syzkaller-00036-g5076001689e4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x20 kernel/kcov.c:313 Code: 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 2a fe ff ff RSP: 0018:ffffc9000424fb28 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b8744a40 RCX: ffffc9000e78c000 RDX: 0000000000080000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: ffffed10170e8949 R13: 0000000000000001 R14: ffff8880b8744a48 R15: ffff8880b863fe40 FS: 00007f59a204a6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59a2049fb8 CR3: 0000000057a70000 CR4: 00000000003526f0 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x47c/0x1300 kernel/smp.c:884 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:2114 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 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_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 __sched_core_enable kernel/sched/core.c:432 [inline] sched_core_get+0x8a/0xa0 kernel/sched/core.c:456 sched_core_alloc_cookie kernel/sched/core_sched.c:18 [inline] sched_core_share_pid+0x41f/0xa00 kernel/sched/core_sched.c:185 __do_sys_prctl+0x15e6/0x2190 kernel/sys.c:2741 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:0x7f59a117ff19 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:00007f59a204a058 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007f59a1346080 RCX: 00007f59a117ff19 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e RBP: 00007f59a11f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f59a1346080 R15: 00007ffc13360ce8