rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=456c/1/0x4000000000000000 softirq=43953/43954 fqs=4 rcu: (detected by 1, t=10502 jiffies, g=63897, q=331 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9311 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00290-gb9158815de52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x4b/0xc0 kernel/rcu/tree.c:700 Code: 00 00 00 48 8d 3c ed 40 1b 26 8d 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed 40 1b 26 8d <48> b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 48 RSP: 0018:ffffc90000007d68 EFLAGS: 00000086 RAX: dffffc0000000000 RBX: ffff8880b9437ee8 RCX: ffffffff88ee9faf RDX: 1ffffffff1a4c368 RSI: ffffffff8b6f5660 RDI: ffffffff8d261b40 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: ffff88804a0e1000 R14: ffff888023f40340 R15: ffff88805183b800 FS: 00007f0add9956c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe469510d58 CR3: 00000000516a6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:782 [inline] advance_sched+0x919/0xc60 net/sched/sch_taprio.c:985 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x20c/0xcc0 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 66 a1 8c f6 48 89 df e8 be 1d 8d f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 a5 58 7e f6 65 8b 05 66 98 24 75 85 c0 74 16 5b RSP: 0018:ffffc900039f7c30 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff88806890e298 RCX: 1ffffffff1f3e269 RDX: 0000000000000000 RSI: ffffffff8b0cae00 RDI: ffffffff8b6f56e0 RBP: 0000000000000202 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f9f55d7 R11: 0000000000000000 R12: ffff88806890e298 R13: 0000000000000202 R14: 0000000000000000 R15: ffffffff81683d25 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] prepare_to_wait_exclusive+0xdc/0x2a0 kernel/sched/wait.c:256 io_cqring_wait+0xded/0x14e0 io_uring/io_uring.c:2647 __do_sys_io_uring_enter+0x392/0x1120 io_uring/io_uring.c:3713 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0adcc7dca9 Code: 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 01 48 RSP: 002b:00007f0add9950c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f0adcdabf80 RCX: 00007f0adcc7dca9 RDX: 0000000000400000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f0adccc947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0adcdabf80 R15: 00007ffe97239088 rcu: rcu_preempt kthread starved for 10493 jiffies! g63897 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:R running task stack:27568 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1663 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:1862 kthread+0x2c1/0x3a0 kernel/kthread.c:388 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: 9838 Comm: syz-executor.4 Not tainted 6.9.0-rc6-syzkaller-00290-gb9158815de52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e7/0x1420 kernel/smp.c:855 Code: 0c 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 5b 07 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 f7 0c 00 00 8b 43 08 31 RSP: 0018:ffffc9000308f5f0 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9446860 RCX: ffffc9000f164000 RDX: 0000000000040000 RSI: ffffffff8181bed5 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017288d0d R13: 0000000000000001 R14: ffff8880b9446868 R15: ffff8880b953fc00 FS: 00007f796a0b76c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f79693ad988 CR3: 0000000054392000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 __purge_vmap_area_lazy+0x4f5/0xc10 mm/vmalloc.c:2245 _vm_unmap_aliases+0x29c/0xbd0 mm/vmalloc.c:2843 change_page_attr_set_clr+0x24c/0x490 arch/x86/mm/pat/set_memory.c:1842 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1890 [inline] set_memory_ro+0x7c/0xb0 arch/x86/mm/pat/set_memory.c:2076 bpf_prog_lock_ro include/linux/filter.h:895 [inline] bpf_prog_select_runtime+0x4fb/0x640 kernel/bpf/core.c:2406 bpf_prog_load+0xf0f/0x2660 kernel/bpf/syscall.c:2899 __sys_bpf+0x9b4/0x4b40 kernel/bpf/syscall.c:5660 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5765 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f796927dca9 Code: 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 01 48 RSP: 002b:00007f796a0b70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f79693abf80 RCX: 00007f796927dca9 RDX: 0000000000000090 RSI: 00000000200003c0 RDI: 0000000000000005 RBP: 00007f79692c947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f79693abf80 R15: 00007ffd3353b8a8 vkms_vblank_simulate: vblank timer overrun