rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=37dc/1/0x4000000000000000 softirq=37817/37818 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P10089/1:b..l rcu: (detected by 0, t=10505 jiffies, g=40225, q=258 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 10104 Comm: syz.3.1077 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x5c/0xc0 kernel/rcu/tree.c:737 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed e0 7c a7 8d 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b RSP: 0018:ffffc90000a18c80 EFLAGS: 00000806 RAX: dffffc0000000000 RBX: ffff8880b8737f68 RCX: ffffffff8175dd0c RDX: 1ffff110170e6fed RSI: ffffffff8bd1ed60 RDI: ffffffff8da77ce8 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff20be6da R10: ffffffff905f36d7 R11: 0000000000000001 R12: 0000000000000000 R13: 000000000003d90c R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000295b2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire+0x14e/0x1f0 include/trace/events/lock.h:24 lock_acquire+0x2f/0xb0 kernel/locking/lockdep.c:5820 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 debug_object_deactivate+0x13b/0x370 lib/debugobjects.c:873 debug_hrtimer_deactivate kernel/time/hrtimer.c:433 [inline] debug_deactivate kernel/time/hrtimer.c:475 [inline] __run_hrtimer kernel/time/hrtimer.c:1707 [inline] __hrtimer_run_queues+0x47c/0xae0 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x392/0x8e0 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x10f/0x400 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:stack_not_used kernel/exit.c:790 [inline] RIP: 0010:check_stack_usage kernel/exit.c:842 [inline] RIP: 0010:do_exit+0x1cdd/0x2d70 kernel/exit.c:981 Code: ff df 4c 8b 65 20 4c 89 e5 e8 5f 42 3e 00 48 83 c5 08 48 89 e8 48 c1 e8 03 42 80 3c 28 00 0f 85 8f 0a 00 00 4c 8b 75 00 31 ff <4c> 89 f6 e8 ab 44 3e 00 4d 85 f6 74 d2 e8 31 42 3e 00 4c 89 e0 49 RSP: 0018:ffffc9000df6fbe8 EFLAGS: 00000246 RAX: 1ffff92001bedb9c RBX: ffff88807ee24880 RCX: ffffffff815bd3e5 RDX: ffff88807ee24880 RSI: ffffffff815bd3c1 RDI: 0000000000000000 RBP: ffffc9000df6dce0 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000df68000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc9000df6f628 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x24ed/0x26c0 kernel/signal.c:3017 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f56c2f85d29 Code: Unable to access opcode bytes at 0x7f56c2f85cff. RSP: 002b:00007f56c0df60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f56c3175fa8 RCX: 00007f56c2f85d29 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f56c3175fa8 RBP: 00007f56c3175fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f56c3175fac R13: 0000000000000000 R14: 00007ffd27735c60 R15: 00007ffd27735d48 task:syz.0.1072 state:R running task stack:25968 pid:10089 tgid:10088 ppid:5824 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7078 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:__update_page_owner_free_handle mm/page_owner.c:273 [inline] RIP: 0010:__reset_page_owner+0x100/0x400 mm/page_owner.c:298 Code: 31 ff 44 89 e6 e8 40 d1 93 ff 49 01 ef 45 85 e4 74 4a e8 f3 ce 93 ff be 08 00 00 00 48 89 ef e8 96 82 f6 ff 48 0f ba 75 00 01 <49> 8d 7f 0c 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 0f RSP: 0018:ffffc9000cfef328 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8206473a RDX: ffffed1003bb8217 RSI: 0000000000000008 RDI: ffff88801ddc10b0 RBP: ffff88801ddc10b0 R08: 0000000000000001 R09: ffffed1003bb8216 R10: ffff88801ddc10b7 R11: 00000000000a29bd R12: 0000000006c6041e R13: 0000000000000001 R14: 0000000000000000 R15: ffff88801ddc10b8 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_folios+0xa7b/0x14f0 mm/page_alloc.c:2706 folios_put_refs+0x587/0x7b0 mm/swap.c:962 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x586/0x1170 mm/shmem.c:1044 shmem_truncate_range mm/shmem.c:1156 [inline] shmem_evict_inode+0x3a3/0xba0 mm/shmem.c:1284 evict+0x409/0x960 fs/inode.c:796 iput_final fs/inode.c:1946 [inline] iput fs/inode.c:1972 [inline] iput+0x52a/0x890 fs/inode.c:1958 dentry_unlink_inode+0x29c/0x480 fs/dcache.c:422 __dentry_kill+0x1d0/0x600 fs/dcache.c:625 dput.part.0+0x4b1/0x9b0 fs/dcache.c:867 dput+0x1f/0x30 fs/dcache.c:857 __fput+0x515/0xb60 fs/file_table.c:458 task_work_run+0x14e/0x250 kernel/task_work.c:239 get_signal+0x1d3/0x26c0 kernel/signal.c:2790 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fece3b85d29 RSP: 002b:00007fece491b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: 0000000020000000 RBX: 00007fece3d75fa0 RCX: 00007fece3b85d29 RDX: b635773f06ebbeea RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fece3c01b08 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fece3d75fa0 R15: 00007ffd270d1798 rcu: rcu_preempt kthread starved for 10505 jiffies! g40225 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27744 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_timeout+0x124/0x280 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2045 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2247 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: 0 UID: 0 PID: 10105 Comm: syz.3.1077 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:314 Code: bf 03 00 00 00 e9 58 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 2a fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc9000477fb10 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b8744a40 RCX: ffffffff818e078c RDX: ffff8880309a4880 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000004 R12: ffffed10170e8949 R13: 0000000000000001 R14: ffff8880b8744a48 R15: ffff8880b863fe40 FS: 00007f56c0dd56c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000295b2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x47c/0x1300 kernel/smp.c:884 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2114 [inline] text_poke_bp_batch+0x659/0x760 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_slow_inc_cpuslocked kernel/jump_label.c:168 [inline] static_key_slow_inc_cpuslocked+0x82/0x120 kernel/jump_label.c:151 static_key_slow_inc+0x1a/0x30 kernel/jump_label.c:191 io_uring_create io_uring/io_uring.c:3646 [inline] io_uring_setup+0x2054/0x3230 io_uring/io_uring.c:3811 __do_sys_io_uring_setup io_uring/io_uring.c:3838 [inline] __se_sys_io_uring_setup io_uring/io_uring.c:3832 [inline] __x64_sys_io_uring_setup+0x98/0x140 io_uring/io_uring.c:3832 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:0x7f56c2f85d29 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:00007f56c0dd4fc8 EFLAGS: 00000202 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 00007f56c3176080 RCX: 00007f56c2f85d29 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000002c0c RBP: 0000000020000400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000002c0c R15: 0000000000000000