rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (3 ticks this GP) idle=e2b/1/0x4000000000000000 softirq=47590/47590 fqs=0 (detected by 1, t=11492 jiffies, g=65245, q=424) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3506 Comm: syz-executor Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:99 [inline] RIP: 0010:do_raw_spin_unlock+0x2b/0x8b0 kernel/locking/spinlock_debug.c:140 Code: 41 57 41 56 41 55 41 54 53 48 83 ec 28 49 89 ff 48 bb 00 00 00 00 00 fc ff df 48 8d 57 04 48 89 d0 48 c1 e8 03 48 89 44 24 10 <0f> b6 04 18 84 c0 48 89 14 24 0f 85 2e 04 00 00 81 3a ad 4e ad de RSP: 0018:ffffc90000007c60 EFLAGS: 00000803 RAX: 1ffff11017345440 RBX: dffffc0000000000 RCX: ffffc90000007c03 RDX: ffff8880b9a2a204 RSI: ffffffff8a8b3ca0 RDI: ffff8880b9a2a200 RBP: ffffc90000007d50 R08: dffffc0000000000 R09: fffffbfff1bc8e76 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000000f98 R14: ffffc90000007ce0 R15: ffff8880b9a2a200 FS: 0000555555a84500(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb00c5e46e0 CR3: 00000000671a0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irqrestore+0x7d/0x130 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1682 [inline] __hrtimer_run_queues+0x48c/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count_sub+0x62/0x160 kernel/sched/core.c:5529 Code: c1 81 e1 ff ff ff 7f 39 d9 7c 23 81 fb fe 00 00 00 77 07 0f b6 c0 85 c0 74 55 65 8b 05 af 05 ab 7e f7 db 65 01 1d a6 05 ab 7e <5b> 41 5e c3 e8 75 51 ae 02 85 c0 74 f3 48 c7 c0 48 a7 e4 8d 48 c1 RSP: 0018:ffffc90002e271d0 EFLAGS: 00000297 RAX: 0000000080000001 RBX: 00000000ffffffff RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90002e27f08 R08: ffffc90002e27f08 R09: ffffc90002e272f0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cbb06a R13: 1ffffffff1cbb06a R14: dffffc0000000000 R15: ffffc90002e272a0 unwind_next_frame+0x1437/0x1fa0 arch/x86/kernel/unwind_orc.c:616 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:119 __reset_page_owner+0x52/0x180 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page_list+0x1f7/0x8e0 mm/page_alloc.c:3433 release_pages+0x1bb9/0x1f40 mm/swap.c:963 __pagevec_release+0x80/0xf0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x67a/0x1b50 mm/shmem.c:964 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145 evict+0x2a4/0x620 fs/inode.c:587 __dentry_kill+0x436/0x650 fs/dcache.c:582 dentry_kill+0xbb/0x290 dput+0xd8/0x1a0 fs/dcache.c:889 __fput+0x5ec/0x890 fs/file_table.c:288 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/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+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fac0cf227db Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fffbae2eb00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fac0cf227db RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007fffbae2ebac R08: 0000000000000000 R09: 00007fffbae2e8a7 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffbae2ec20 R13: 0000000000000018 R14: 0000000000076c43 R15: 0000000000076c39 rcu: rcu_preempt kthread timer wakeup didn't happen for 11491 jiffies! g65245 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=25016 rcu: rcu_preempt kthread starved for 11492 jiffies! g65245 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:26168 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3506 Comm: syz-executor Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__kasan_check_read+0x6/0x10 mm/kasan/shadow.c:31 Code: 41 5e 41 5f 5d c3 48 c7 c7 a3 d5 16 8c eb 0a 48 c7 c7 db d5 16 8c 4c 89 fe e8 f6 26 53 08 31 db eb d7 cc cc 89 f6 48 8b 0c 24 <31> d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9 RSP: 0018:ffffc90000007c48 EFLAGS: 00000046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff816423c4 RDX: ffff888024b48aec RSI: 0000000000000004 RDI: ffff888024b48ae8 RBP: ffff888024b48ae8 R08: dffffc0000000000 R09: fffffbfff1bc8e76 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888024b48800 R13: ffff888024b48b40 R14: dffffc0000000000 R15: ffff888024b48ae8 FS: 0000555555a84500(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb00c5e46e0 CR3: 00000000671a0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline] do_raw_spin_unlock+0x54/0x8b0 kernel/locking/spinlock_debug.c:140 __raw_spin_unlock include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] advance_sched+0x68b/0x940 net/sched/sch_taprio.c:765 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:preempt_count_sub+0x62/0x160 kernel/sched/core.c:5529 Code: c1 81 e1 ff ff ff 7f 39 d9 7c 23 81 fb fe 00 00 00 77 07 0f b6 c0 85 c0 74 55 65 8b 05 af 05 ab 7e f7 db 65 01 1d a6 05 ab 7e <5b> 41 5e c3 e8 75 51 ae 02 85 c0 74 f3 48 c7 c0 48 a7 e4 8d 48 c1 RSP: 0018:ffffc90002e271d0 EFLAGS: 00000297 RAX: 0000000080000001 RBX: 00000000ffffffff RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90002e27f08 R08: ffffc90002e27f08 R09: ffffc90002e272f0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cbb06a R13: 1ffffffff1cbb06a R14: dffffc0000000000 R15: ffffc90002e272a0 unwind_next_frame+0x1437/0x1fa0 arch/x86/kernel/unwind_orc.c:616 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:119 __reset_page_owner+0x52/0x180 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page_list+0x1f7/0x8e0 mm/page_alloc.c:3433 release_pages+0x1bb9/0x1f40 mm/swap.c:963 __pagevec_release+0x80/0xf0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x67a/0x1b50 mm/shmem.c:964 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145 evict+0x2a4/0x620 fs/inode.c:587 __dentry_kill+0x436/0x650 fs/dcache.c:582 dentry_kill+0xbb/0x290 dput+0xd8/0x1a0 fs/dcache.c:889 __fput+0x5ec/0x890 fs/file_table.c:288 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/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+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fac0cf227db Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fffbae2eb00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fac0cf227db RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007fffbae2ebac R08: 0000000000000000 R09: 00007fffbae2e8a7 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffbae2ec20 R13: 0000000000000018 R14: 0000000000076c43 R15: 0000000000076c39