rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=81dc/1/0x4000000000000000 softirq=11183/11184 fqs=6 (t=10500 jiffies g=11517 q=23 ncpus=2) rcu: rcu_preempt kthread starved for 10485 jiffies! g11517 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:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4507 Comm: syz-executor.0 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:check_preemption_disabled+0x7/0x110 lib/smp_processor_id.c:13 Code: e8 6e 83 d8 f9 e9 6d ff ff ff cc cc cc cc cc cc cc cc cc 48 c7 c7 80 43 3d 8b 48 c7 c6 c0 43 3d 8b eb 00 41 57 41 56 41 54 53 <48> 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d 10 RSP: 0018:ffffc900059e7c20 EFLAGS: 00000246 RAX: ffffffff8132b120 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90003dd1000 RSI: ffffffff8b3d43c0 RDI: ffffffff8b3d4380 RBP: dffffc0000000000 R08: ffffffff8132b10d R09: fffffbfff1ce7046 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888057009dc0 R13: ffffffff8132a8a7 R14: ffff88805700b6c0 R15: ffff88805700b6c0 FS: 00007fc449a6a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc449a69fc0 CR3: 00000000556d2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fpregs_mark_activate arch/x86/kernel/fpu/core.c:780 [inline] fpu__clear_user_states+0x180/0x260 arch/x86/kernel/fpu/core.c:736 handle_signal arch/x86/kernel/signal.c:844 [inline] arch_do_signal_or_restart+0xd41/0x1a10 arch/x86/kernel/signal.c:873 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc448ca54f0 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d da 9c 04 00 e8 15 78 fa ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007fc449a69bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007fc448dac058 RCX: 00007fc448c7dd69 RDX: 00007fc449a69bc0 RSI: 00007fc449a69cf0 RDI: 0000000000000021 RBP: 00007fc448dac050 R08: 00007fc449a6a6c0 R09: 00007fc449a6a6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc448dac05c R13: 000000000000006e R14: 00007fffb0ebdd60 R15: 00007fffb0ebde48 CPU: 0 PID: 3742 Comm: syz-fuzzer Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5124 Code: 37 0b 00 48 83 c4 08 4c 89 f7 e8 98 30 00 00 0f 1f 44 00 00 4c 89 f7 e8 7b d0 35 09 e8 36 26 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 RSP: 0018:ffffc900052a7748 EFLAGS: 00000286 RAX: 4f1e0ac02f6d0900 RBX: ffff888021923bb4 RCX: ffffffff91c93103 RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffff88801fe05178 RBP: ffffc900052a7790 R08: dffffc0000000000 R09: ffffed1017307541 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801fe03b80 R13: 1ffff110173076eb R14: ffff8880b983aa00 R15: ffff8880b983b758 FS: 000000c000059890(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5aa59a8000 CR3: 0000000077adf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1435/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:118 [inline] RIP: 0010:need_resched include/linux/sched.h:2231 [inline] RIP: 0010:schedule+0xd6/0x180 kernel/sched/core.c:6636 Code: 74 39 bf 01 00 00 00 e8 48 19 cb f6 31 ff e8 f1 b9 ff ff bf 01 00 00 00 e8 b7 1a cb f6 4c 89 e7 be 08 00 00 00 e8 fa cc 4e f7 <42> 80 3c 3b 00 74 c7 4c 89 e7 e8 5b cb 4e f7 eb bd 4d 89 e6 49 83 RSP: 0018:ffffc900052a7ad0 EFLAGS: 00000256 RAX: 0000000000000001 RBX: 1ffff11003fc0770 RCX: ffffffff8a933926 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801fe03b80 RBP: 1ffff11003fc0a5d R08: dffffc0000000000 R09: ffffed1003fc0771 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801fe03b80 R13: ffffc900052a7c68 R14: ffff88801fe04df8 R15: dffffc0000000000 futex_wait_queue+0x149/0x1d0 kernel/futex/waitwake.c:355 futex_wait+0x203/0x5c0 kernel/futex/waitwake.c:656 do_futex+0x3b5/0x490 kernel/futex/syscalls.c:106 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x3d7/0x460 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x473543 Code: 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14 4c 8b 54 24 18 4c 8b 44 24 20 44 8b 4c 24 28 b8 ca 00 00 00 0f 05 <89> 44 24 30 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:000000c000a8dd70 EFLAGS: 00000286 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000473543 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000c000059948 RBP: 000000c000a8ddb8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 000000c000a8de10 R13: 0000000000000004 R14: 000000c000979ba0 R15: 0000000000000000