rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=46125, q=97) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294985424-4294974922), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g46125 f0x2 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:26168 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 9521 Comm: syz.0.1480 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:check_preemption_disabled+0x4b/0x110 lib/smp_processor_id.c:55 Code: 8b 05 71 4e cf 75 a9 ff ff ff 7f 74 22 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b 41 5c <41> 5e 41 5f c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 RSP: 0018:ffffc90000dd0b68 EFLAGS: 00000082 RAX: 0000000000000001 RBX: 0000000000000046 RCX: ffffc90000dd0c03 RDX: 0000000000000000 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f800 RBP: ffffc90000dd0cb0 R08: dffffc0000000000 R09: fffffbfff1bd2986 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba17c R13: 0000000000000046 R14: ffffc90000dd0c10 R15: dffffc0000000000 FS: 00007f42288ee6c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb1aff8 CR3: 0000000061349000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:436 [inline] lock_release+0x5c1/0x9a0 kernel/locking/lockdep.c:5645 rcu_read_unlock include/linux/rcupdate.h:772 [inline] advance_sched+0x7d4/0x940 net/sched/sch_taprio.c:771 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:account_kernel_stack+0x270/0x420 kernel/fork.c:386 Code: b5 34 00 b8 00 02 00 00 48 21 c3 75 31 e8 78 b1 34 00 4c 89 fb 4d 85 ed 75 07 e8 6b b1 34 00 eb 06 e8 64 b1 34 00 fb 4d 89 f5 <49> 83 fc 38 74 1a e8 55 b1 34 00 49 83 c4 08 e9 90 fe ff ff e8 47 RSP: 0018:ffffc900033f7560 EFLAGS: 00000283 RAX: ffffffff814baffc RBX: ffff888142f94820 RCX: 0000000000040000 RDX: ffffc9000c63b000 RSI: 0000000000000149 RDI: 000000000000014a RBP: ffffc900033f7688 R08: ffffffff814bafd9 R09: fffffbfff1bd2986 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000020 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888142f94820 release_task_stack kernel/fork.c:431 [inline] put_task_stack+0x8f/0x140 kernel/fork.c:443 finish_task_switch+0x276/0x630 kernel/sched/core.c:4942 context_switch kernel/sched/core.c:5033 [inline] __schedule+0x12cc/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 freezable_schedule include/linux/freezer.h:172 [inline] futex_wait_queue_me+0x25b/0x480 kernel/futex/core.c:2863 futex_wait+0x2f8/0x740 kernel/futex/core.c:2964 do_futex+0x1414/0x1810 kernel/futex/core.c:3982 __do_sys_futex kernel/futex/core.c:4059 [inline] __se_sys_futex+0x407/0x490 kernel/futex/core.c:4040 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f422a4719f9 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:00007f42288ee0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f422a60df88 RCX: 00007f422a4719f9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f422a60df88 RBP: 00007f422a60df80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f422a60df8c R13: 0000000000000000 R14: 00007ffcc3d9ad50 R15: 00007ffcc3d9ae38