rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10499 ticks this GP) idle=319c/1/0x4000000000000000 softirq=12210/12210 fqs=7 (t=10501 jiffies g=15117 q=31 ncpus=2) rcu: rcu_preempt kthread starved for 10488 jiffies! g15117 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:26680 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4436 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4724 [inline] RIP: 0010:__lock_acquire+0x571/0x1f80 kernel/locking/lockdep.c:4999 Code: a1 77 00 48 0f a3 1d ee 54 df 0e 73 1f 48 8d 04 5b 48 c1 e0 06 48 8d 98 20 21 19 90 48 ba 00 00 00 00 00 fc ff df 48 8b 34 24 34 48 c7 c0 60 41 c9 91 48 c1 e8 03 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffffc9000318f8c0 EFLAGS: 00000002 RAX: 0000000000013380 RBX: ffffffff901a54a0 RCX: ffffffff816a6d2a RDX: dffffc0000000000 RSI: ffff888021494660 RDI: ffffffff9049c250 RBP: 0000000000000003 R08: dffffc0000000000 R09: fffffbfff209384b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021494658 R13: ffff888021493b80 R14: ffff888021494680 R15: 1ffff110042928d0 FS: 00007f28ca3ca6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49e7b48f80 CR3: 000000001a7fd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 __might_fault+0xbd/0x110 mm/memory.c:5835 clear_rseq_cs kernel/rseq.c:228 [inline] rseq_ip_fixup kernel/rseq.c:262 [inline] __rseq_handle_notify_resume+0x5ba/0x1500 kernel/rseq.c:300 rseq_handle_notify_resume include/linux/sched.h:2329 [inline] rseq_signal_deliver include/linux/sched.h:2338 [inline] setup_rt_frame arch/x86/kernel/signal.c:773 [inline] handle_signal arch/x86/kernel/signal.c:828 [inline] arch_do_signal_or_restart+0x27c/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:0x7f28c967cf67 Code: 14 25 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 RSP: 002b:00007f28ca3ca178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 00000000000000ca RBX: 00007f28c97b3f88 RCX: 00007f28c967cf69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f28c97b3f88 RBP: 00007f28c97b3f80 R08: 00007f28ca3ca6c0 R09: 00007f28ca3ca6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f28c97b3f8c R13: 000000000000000b R14: 00007ffd62b824f0 R15: 00007ffd62b825d8 CPU: 1 PID: 3615 Comm: kworker/1:5 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: 0x0 (events) 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 20 36 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:ffffc9000435fa08 EFLAGS: 00000286 RAX: 3b4aff7ce726ba00 RBX: ffff88807b4c8034 RCX: ffffffff91c94103 RDX: dffffc0000000000 RSI: ffffffff8aec01c0 RDI: ffff888021e5b3b8 RBP: ffffc9000435fa50 R08: dffffc0000000000 R09: ffffed1017327541 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021e59dc0 R13: 1ffff110173276eb R14: ffff8880b993aa00 R15: ffff8880b993b758 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f55f65f4f00 CR3: 000000007be0f000 CR4: 00000000003506e0 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:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:preempt_count_add+0x32/0x180 kernel/sched/core.c:5703 Code: c7 c0 60 41 c9 91 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 e2 00 00 00 83 3d e0 ee 6a 10 00 75 07 <65> 8b 05 bf 1c a4 7e 65 01 1d b8 1c a4 7e 48 c7 c0 60 41 c9 91 48 RSP: 0018:ffffc9000435fda8 EFLAGS: 00000246 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff91c94103 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffff8880565d4068 R08: dffffc0000000000 R09: ffffed10043cb3b9 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888021e59dc0 R13: dffffc0000000000 R14: ffff888021e5b038 R15: dffffc0000000000 schedule+0xb8/0x180 kernel/sched/core.c:6633 worker_thread+0xe9d/0x1200 kernel/workqueue.c:2460 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308