rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=779/1/0x4000000000000000 softirq=36443/36444 fqs=9 (detected by 0, t=10502 jiffies, g=47293, q=105) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10284 Comm: syz-executor Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__lock_acquire+0x5a23/0x7c60 kernel/locking/lockdep.c:5039 Code: e0 45 48 8b 84 24 e8 00 00 00 42 c7 04 00 00 00 00 00 4a c7 44 00 0b 00 00 00 00 42 c7 44 00 17 00 00 00 00 42 c6 44 00 1b 00 <65> 48 8b 04 25 28 00 00 00 48 3b 84 24 00 02 00 00 0f 85 f0 0b 00 RSP: 0018:ffffc90000dd08c0 EFLAGS: 00000097 RAX: 1ffff920001ba13c RBX: ffff888029f8e428 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9b0c0 RBP: ffffc90000dd0b10 R08: dffffc0000000000 R09: fffffbfff1ff3619 R10: fffffbfff1ff3619 R11: 1ffffffff1ff3618 R12: 9be2421a50ef4013 R13: ffff888029f8d940 R14: ffff888029f8e420 R15: ffff888029f8e478 FS: 0000555570148500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc79ec6bac CR3: 00000000641fa000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] advance_sched+0x6ca/0x940 net/sched/sch_taprio.c:769 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:find_lock_entries+0xb37/0xd50 mm/filemap.c:2110 Code: d9 80 e1 07 80 c1 03 38 c1 7c 98 48 89 df e8 b0 15 1f 00 eb 8e e8 a9 9d d9 ff eb 24 e8 a2 9d d9 ff eb 1d e8 9b 9d d9 ff eb 16 94 9d d9 ff 49 bf 00 00 00 00 00 fc ff df eb 05 e8 83 9d d9 ff RSP: 0018:ffffc90002fdf720 EFLAGS: 00000246 RAX: ffffffff819e1c6d RBX: ffffc90002fdf998 RCX: ffff888029f8d940 RDX: 0000000000000000 RSI: 000000000000000f RDI: 000000000000000f RBP: ffffc90002fdf850 R08: dffffc0000000000 R09: fffff940002a91f1 R10: fffff940002a91f1 R11: 1ffffd40002a91f0 R12: ffffc90002fdf7a0 R13: dffffc0000000000 R14: ffffea0001548f80 R15: 000000000000000f shmem_undo_range+0x234/0x1840 mm/shmem.c:943 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x20d/0xa00 mm/shmem.c:1145 evict+0x485/0x870 fs/inode.c:647 __dentry_kill+0x431/0x650 fs/dcache.c:586 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x5ee/0x930 fs/file_table.c:319 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc034b35c57 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffebccc7058 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fc034bb6925 RCX: 00007fc034b35c57 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffebccc7110 RBP: 00007ffebccc7110 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffebccc81a0 R13: 00007fc034bb6925 R14: 000000000006ce07 R15: 00007ffebccc81e0 rcu: rcu_preempt kthread timer wakeup didn't happen for 10483 jiffies! g47293 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=25203 rcu: rcu_preempt kthread starved for 10484 jiffies! g47293 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 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: NMI backtrace for cpu 0 CPU: 0 PID: 10826 Comm: syz.1.1198 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x10c8/0x1220 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x831/0x1110 kernel/rcu/tree.c:2619 update_process_times+0x193/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xb92/0xd70 kernel/smp.c:969 Code: 00 00 41 8b 1c 24 89 de 83 e6 01 31 ff e8 a6 55 0b 00 83 e3 01 75 07 e8 3c 52 0b 00 eb 43 f3 90 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 44 05 00 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 15 RSP: 0018:ffffc9000343f260 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000080000 RDX: ffffc9000c091000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000343f3a0 R08: dffffc0000000000 R09: fffffbfff1ff361a R10: fffffbfff1ff361a R11: 1ffffffff1ff3619 R12: ffff8880b9140588 R13: 1ffff110172280b1 R14: ffff8880b903b380 R15: 0000000000000001 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 __purge_vmap_area_lazy+0x216/0x18f0 mm/vmalloc.c:1683 _vm_unmap_aliases+0x410/0x4a0 mm/vmalloc.c:2107 change_page_attr_set_clr+0x311/0xc10 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0x89/0xd0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:899 [inline] bpf_int_jit_compile+0xc4a8/0xcc80 arch/x86/net/bpf_jit_comp.c:2478 bpf_prog_select_runtime+0x74f/0xaa0 kernel/bpf/core.c:1934 bpf_prog_load+0x106e/0x1550 kernel/bpf/syscall.c:2352 __sys_bpf+0x4c2/0x670 kernel/bpf/syscall.c:4651 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7efc79c9d929 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:00007efc77b05038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007efc79ec4fa0 RCX: 00007efc79c9d929 RDX: 0000000000000094 RSI: 0000200000000680 RDI: 0000000000000005 RBP: 00007efc79d1fb39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efc79ec4fa0 R15: 00007ffc5801d078 vkms_vblank_simulate: vblank timer overrun