rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5806/1:b..l (detected by 0, t=10502 jiffies, g=23557, q=39 ncpus=2) task:syz-executor.3 state:R running task stack:25672 pid:5806 ppid:3588 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/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:__sanitizer_cov_trace_switch+0x2/0xe0 kernel/kcov.c:317 Code: 77 1e 49 ff c2 4c 89 12 48 c7 44 11 08 07 00 00 00 48 89 7c 11 10 48 89 74 11 18 4c 89 44 11 20 c3 0f 1f 80 00 00 00 00 41 57 <41> 56 41 54 53 48 8b 46 08 48 83 c0 f8 48 c1 c0 3d 48 83 f8 07 0f RSP: 0018:ffffc90005a676f0 EFLAGS: 00000282 RAX: 0000000000000000 RBX: 1ffff92000b4ceef RCX: 0000000000040000 RDX: ffffc9000bb8c000 RSI: ffffffff8d1ca1c0 RDI: 0000000000000000 RBP: ffffc90005a67810 R08: ffffffff8a873001 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000102 R14: ffff8880287509b8 R15: 00000000000000c9 xas_retry include/linux/xarray.h:1506 [inline] mapping_get_entry mm/filemap.c:1854 [inline] __filemap_get_folio+0x23e/0xe80 mm/filemap.c:1915 shmem_get_folio_gfp+0x356/0x3470 mm/shmem.c:1881 shmem_get_folio mm/shmem.c:2072 [inline] shmem_write_begin+0x16e/0x4e0 mm/shmem.c:2559 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3817 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3945 generic_file_write_iter+0xab/0x310 mm/filemap.c:3977 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 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:0x7f4c6347bc2f RSP: 002b:00007f4c641bbe80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f4c6347bc2f RDX: 0000000001000000 RSI: 00007f4c59bf7000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000009756 R10: 000000002001c602 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f4c641bbf80 R14: 00007f4c641bbf40 R15: 00007f4c59bf7000 rcu: rcu_preempt kthread starved for 10540 jiffies! g23557 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:I 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3558 Comm: syz-fuzzer Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:rb_add_cached include/linux/rbtree.h:174 [inline] RIP: 0010:__enqueue_entity kernel/sched/fair.c:630 [inline] RIP: 0010:put_prev_entity+0x127/0x440 kernel/sched/fair.c:5060 Code: 49 8d 7f 40 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 05 e8 73 49 80 00 48 8b 5c 24 28 49 2b 5c 24 40 <48> 89 dd 48 c1 ed 3f 31 c0 48 85 db 0f 98 c0 4d 8d 6c c4 08 48 c1 RSP: 0000:ffffc90003aafc50 EFLAGS: 00000083 RAX: 1ffff1100e80bb42 RBX: ffffffffffe58c4c RCX: dffffc0000000000 RDX: 0000000000000400 RSI: ffffffff8aec1340 RDI: ffff88807405da10 RBP: 0000000000000008 R08: ffffffff8fe9f040 R09: ffffffff8fe9f048 R10: ffffffff8fe9f058 R11: ffffffff8fe9f050 R12: ffff88807405d9d0 R13: 1ffff1100f335b3b R14: ffff8880b993aa00 R15: ffff88807405d9d0 FS: 000000c000d47490(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd702c80000 CR3: 00000000788b2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pick_next_task_fair+0x368/0xdc0 kernel/sched/fair.c:7854 __pick_next_task kernel/sched/core.c:5868 [inline] pick_next_task kernel/sched/core.c:5943 [inline] __schedule+0x7a9/0x4550 kernel/sched/core.c:6522 schedule+0xbf/0x180 kernel/sched/core.c:6634 exit_to_user_mode_loop+0x44/0x100 kernel/entry/common.c:165 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:316 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0033:0x417996 Code: 00 00 00 80 00 00 48 01 c2 48 c1 ea 1a 90 66 0f 1f 44 00 00 48 81 fa 00 00 40 00 72 04 31 d2 eb 2d 48 8b 35 64 7c 1e 02 84 06 <48> 8b 14 d6 48 85 d2 74 19 48 89 c6 48 c1 e8 0d 25 ff 1f 00 00 48 RSP: 002b:000000c000725d90 EFLAGS: 00000246 RAX: 0000000000bf69df RBX: 00000000018349a0 RCX: 000000000000fd80 RDX: 0000000000200000 RSI: 00007fd702eec000 RDI: 000000c000043740 RBP: 000000c000725db8 R08: 000000000000fd80 R09: 0000000000000000 R10: 0000000000bf69df R11: 0000000000000080 R12: 000000c000725ef0 R13: ffffffffffffffff R14: 000000c0007184e0 R15: 0000000000000000 vkms_vblank_simulate: vblank timer overrun