rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=85953, q=275 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10500 (4295050206-4295039706), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10500 jiffies! g85953 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:27584 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 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 PID: 14591 Comm: syz-executor.1 Not tainted 6.10.0-rc2-syzkaller-00097-g2df0193e62cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5282 Code: a9 0a 00 00 44 8b 0d d7 49 86 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 d9 e6 36 00 fb 65 48 8b 1d e0 89 a5 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc9000383fa20 EFLAGS: 00000206 RAX: 00000000007c612b RBX: ffff888019fada00 RCX: 1ffffffff1fc8479 RDX: 0000000000000000 RSI: ffffffff8b2caf60 RDI: ffffffff8b900180 RBP: ffffc9000383fa68 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8fe46657 R11: 0000000000000000 R12: ffff8880b933f978 R13: ffff88802f7b5a00 R14: 0000000000000000 R15: ffff8880b933ec00 FS: 0000555557088480(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7bacf7ff80 CR3: 000000007db6e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: context_switch kernel/sched/core.c:5411 [inline] __schedule+0xf1d/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:need_resched include/linux/sched.h:2110 [inline] RIP: 0010:preempt_schedule_common+0x4b/0xc0 kernel/sched/core.c:6932 Code: c3 65 ff 05 8f 96 19 75 65 8b 05 88 96 19 75 25 ff ff ff 7f 83 f8 01 74 29 bf 01 00 00 00 e8 8c 9d ff ff 65 ff 0d 6d 96 19 75 <80> 3b 00 75 5f 48 8b 45 00 a8 08 75 ca 5b 5d 41 5c 41 5d c3 cc cc RSP: 0018:ffffc9000383fce0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffed10033f5b40 RCX: fffff52000707f7d RDX: 1ffff110033f5e0b RSI: ffffffff8b2caf60 RDI: ffff888019faf058 RBP: ffff888019fada00 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8fe46657 R11: 0000000000000000 R12: ffffffff8100a13a R13: ffff888019fada00 R14: ffffffff8fe49914 R15: ffff8880502c7200 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __up_write kernel/locking/rwsem.c:1377 [inline] up_write+0x209/0x520 kernel/locking/rwsem.c:1632 mmap_write_unlock include/linux/mmap_lock.h:131 [inline] vm_mmap_pgoff+0x25b/0x360 mm/util.c:575 ksys_mmap_pgoff+0x7d/0x5d0 mm/mmap.c:1443 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:79 [inline] __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:79 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:0x7f9f2fc7cfa3 Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 b0 ff ff ff 64 c7 RSP: 002b:00007ffc984982f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f9f2e6006c0 RCX: 00007f9f2fc7cfa3 RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffc98498550 R13: ffffffffffffffc0 R14: 0000000000001000 R15: 0000000000000000