rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (9 ticks this GP) idle=2d1c/1/0x4000000000000000 softirq=70034/70034 fqs=5 rcu: (detected by 0, t=10502 jiffies, g=124281, q=105 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22876 Comm: syz-executor.4 Not tainted 6.6.0-rc7-next-20231027-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__lock_acquire+0xe5b/0x5dc0 kernel/locking/lockdep.c:5144 Code: 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 0e 3c 03 7f 0a 48 8b 7c 24 38 e8 3f 24 77 00 48 8b 1c 24 8b 83 b8 0a 00 00 <89> 44 24 08 83 c0 01 83 f8 2f 89 83 b8 0a 00 00 0f 87 ca 17 00 00 RSP: 0018:ffffc900001f0b20 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff88802a060000 RCX: c0927cb26ae65a2c RDX: 1ffff1100540c157 RSI: 0000000000000001 RDI: ffffffff91f14660 RBP: 0000000000000018 R08: 0000000000000000 R09: fffffbfff23e25d0 R10: ffffffff91f12e87 R11: ffffc900001f0ff8 R12: 00000000ef995a31 R13: ffff88802a060ae8 R14: 0000000000000002 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30046000 CR3: 000000000cd77000 CR4: 00000000003506f0 Call Trace: lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1b1/0x530 kernel/locking/lockdep.c:5718 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] advance_sched+0x67c/0xc60 net/sched/sch_taprio.c:996 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x20c/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x10c/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207 Code: bf 7a 7e 65 8b 05 c5 bf 7a 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 <83> f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48 RSP: 0018:ffffc9000aa570a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc9000aa57130 RCX: ffffffff813ac789 RDX: ffff88802a060000 RSI: ffffffff813ac812 RDI: ffffc9000aa57140 RBP: ffffc9000aa57978 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000001 R11: dffffc0000000000 R12: ffffc9000aa50000 R13: ffffc9000aa58000 R14: 0000000000000001 R15: 0000000000000001 on_stack arch/x86/include/asm/stacktrace.h:60 [inline] unwind_next_frame+0x1202/0x2390 arch/x86/kernel/unwind_orc.c:665 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 save_stack+0x15e/0x1f0 mm/page_owner.c:128 __reset_page_owner+0x5a/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare+0x4f8/0xa90 mm/page_alloc.c:2383 free_unref_page_list+0xe6/0xb40 mm/page_alloc.c:2569 release_pages+0x32a/0x14e0 mm/swap.c:1042 __folio_batch_release+0x77/0xe0 mm/swap.c:1062 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x57a/0x1130 mm/shmem.c:1004 shmem_truncate_range mm/shmem.c:1113 [inline] shmem_evict_inode+0x39f/0xba0 mm/shmem.c:1241 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput.part.0+0x56e/0x7b0 fs/inode.c:1801 iput+0x5c/0x80 fs/inode.c:1791 dentry_unlink_inode+0x292/0x430 fs/dcache.c:401 __dentry_kill+0x3b8/0x640 fs/dcache.c:607 dentry_kill fs/dcache.c:733 [inline] dput+0x8b7/0xf80 fs/dcache.c:913 __fput+0x3b9/0xbb0 fs/file_table.c:402 task_work_run+0x14c/0x240 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa85/0x2ac0 kernel/exit.c:871 do_group_exit+0xd3/0x2a0 kernel/exit.c:1021 get_signal+0x2391/0x2760 kernel/signal.c:2904 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11c/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7fe23ee7cae9 Code: Unable to access opcode bytes at 0x7fe23ee7cabf. RSP: 002b:00007fe23fc3d0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: fffffffffffffe00 RBX: 00007fe23ef9c2c0 RCX: 00007fe23ee7cae9 RDX: 0000000000000001 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 00007fe23eec847a R08: 0000000020000380 R09: 0000000000000000 R10: 0000000040000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe23ef9c2c0 R15: 00007fff1cddaa88 rcu: rcu_preempt kthread starved for 10492 jiffies! g124281 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:28672 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_timeout+0x156/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1626 rcu_gp_kthread+0x243/0x380 kernel/rcu/tree.c:1825 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 22880 Comm: syz-executor.3 Not tainted 6.6.0-rc7-next-20231027-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4c1/0x1560 kernel/smp.c:855 Code: 0b 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 21 c5 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 4b 0e 00 00 8b 43 08 31 RSP: 0018:ffffc9000a9e7958 EFLAGS: 00000246 RAX: 0000000000040000 RBX: ffff8880b9941a60 RCX: ffffc90005139000 RDX: 0000000000040000 RSI: ffffffff817d37cf RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b9941a68 R15: ffff8880b983d8c0 FS: 00007fd2047a66c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd203b98000 CR3: 000000007d31d000 CR4: 00000000003506f0 DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x646/0x850 kernel/time/hrtimer.c:976 timekeeping_inject_offset+0x4d1/0x640 kernel/time/timekeeping.c:1395 do_adjtimex+0x373/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x173/0x280 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7fd203a7cae9 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:00007fd2047a60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fd203b9bf80 RCX: 00007fd203a7cae9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 00007fd203ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd203b9bf80 R15: 00007ffc29931628